home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Twentieth Anniversary Mac…osh - QuickTime Showcase
/
691-1418,Twentieth Anniversary Macintosh. QuickTime Showcase. (CD).toast
/
QuickTime Showcase
/
QuickTime Showcase.rsrc
/
CODE_1_Libraries.txt
< prev
next >
Wrap
Text File
|
1997-05-15
|
432KB
|
8,041 lines
# near model CODE resource
# jump table entries: 0-0 (1 of them)
export_0:
00000000 9DCE sub.l A6, A6
00000002 598F subq.l A7, 4
00000004 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000000A 4267 clr.w -[A7]
0000000C A9A0 syscall GetResource
0000000E 2017 move.l D0, [A7]
00000010 6700 011E beq +0x120 /* 00000130 */
00000014 2040 movea.l A0, D0
00000016 2050 movea.l A0, [A0]
00000018 2E18 move.l D7, [A0]+
0000001A 2C10 move.l D6, [A0]
0000001C A9A3 syscall ReleaseResource
0000001E 7000 moveq.l D0, 0x00
00000020 204D movea.l A0, A5
00000022 91C6 sub.l A0, D6
00000024 6002 bra +0x4 /* 00000028 */
label00000026:
00000026 10C0 move.b [A0]+, D0
label00000028:
00000028 B1CD cmpa.l A0, A5
0000002A 6DFA blt -0x4 /* 00000026 */
0000002C 41ED 0028 lea.l A0, [A5 + 0x28]
00000030 43F5 7800 lea.l A1, [A5 + D7]
00000034 6002 bra +0x4 /* 00000038 */
label00000036:
00000036 10C0 move.b [A0]+, D0
label00000038:
00000038 B1C9 cmpa.l A0, A1
0000003A 6DFA blt -0x4 /* 00000036 */
0000003C 598F subq.l A7, 4
0000003E 2F3C 4441 5441 move.l -[A7], 0x44415441 /* 'DATA' */
00000044 4267 clr.w -[A7]
00000046 A9A0 syscall GetResource
00000048 2057 movea.l A0, [A7]
0000004A 2008 move.l D0, A0
0000004C 6700 00E2 beq +0xE4 /* 00000130 */
00000050 2F0D move.l -[A7], A5
00000052 2050 movea.l A0, [A0]
00000054 4868 0004 pea.l [A0 + 0x4]
00000058 4EBA 00DC jsr [PC + 0xDC /* 00000136 */]
0000005C 508F addq.l A7, 8
0000005E 43FA FF9C lea.l A1, [PC - 0x64 /* FFFFFFFC, cstring ""<EOF> */]
00000062 2B49 2452 move.l [A5 + 0x2452 /* export_1158 */], A1
00000066 224D movea.l A1, A5
00000068 4EBA 0244 jsr [PC + 0x244 /* 000002AE */]
0000006C 226D 2452 movea.l A1, [A5 + 0x2452 /* export_1158 */]
00000070 4EBA 023C jsr [PC + 0x23C /* 000002AE */]
00000074 A9A3 syscall ReleaseResource
00000076 4EBA 02C2 jsr [PC + 0x2C2 /* 0000033A */]
0000007A 422D 2450 clr.b [A5 + 0x2450]
0000007E 303C A89F move.w D0, 0xA89F
00000082 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000084 2F08 move.l -[A7], A0
00000086 303C A198 move.w D0, 0xA198
0000008A A346 syscall GetOSTrapAddress, flags=3
0000008C B1DF cmpa.l A0, [A7]+
0000008E 670A beq +0xC /* 0000009A */
00000090 1B7C 0001 2450 move.b [A5 + 0x2450], 0x1
00000096 7001 moveq.l D0, 0x01
00000098 A198 syscall HWPriv, flags=1
label0000009A:
0000009A 303C A9F0 move.w D0, 0xA9F0
0000009E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000000A0 2B48 2456 move.l [A5 + 0x2456], A0
000000A4 303C A9F1 move.w D0, 0xA9F1
000000A8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000000AA 2B48 245A move.l [A5 + 0x245A /* export_1159 */], A0
000000AE 303C A9F4 move.w D0, 0xA9F4
000000B2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000000B4 2B48 245E move.l [A5 + 0x245E], A0
000000B8 303C A9F0 move.w D0, 0xA9F0
000000BC 41FA 0284 lea.l A0, [PC + 0x284 /* 00000342, value 0x3F3C0001, cstring "?<" */]
000000C0 A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
000000C2 303C A9F1 move.w D0, 0xA9F1
000000C6 41FA 0338 lea.l A0, [PC + 0x338 /* 00000400, value 0x3F3C0000 '?<\0\0', cstring "?<" */]
000000CA A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
000000CC 303C A9F4 move.w D0, 0xA9F4
000000D0 41FA 003C lea.l A0, [PC + 0x3C /* 0000010E, value 0x2A780904 */]
000000D4 A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
000000D6 4EB9 0000 0492 jsr [0x00000492]
000000DC 4EB9 0000 0606 jsr [0x00000606]
000000E2 487A 004E pea.l [PC + 0x4E /* 00000132, value 0x0, cstring "" */]
000000E6 4A2D 9D1D tst.b [A5 - 0x62E3]
000000EA 6702 beq +0x4 /* 000000EE */
000000EC 4267 clr.w -[A7]
label000000EE:
000000EE 4267 clr.w -[A7]
000000F0 4EB9 FFFF FB00 jsr [0xFFFFFB00]
000000F6 5C8F addq.l A7, 6
000000F8 4A2D 9D1D tst.b [A5 - 0x62E3]
000000FC 6702 beq +0x4 /* 00000100 */
000000FE 548F addq.l A7, 2
label00000100:
00000100 202D 2434 move.l D0, [A5 + 0x2434]
00000104 6704 beq +0x6 /* 0000010A */
00000106 2040 movea.l A0, D0
00000108 4E90 jsr [A0]
label0000010A:
0000010A 4EBA 0384 jsr [PC + 0x384 /* 00000490 */]
0000010E 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00000112 303C A9F4 move.w D0, 0xA9F4
00000116 206D 245E movea.l A0, [A5 + 0x245E]
0000011A A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
0000011C 303C A9F0 move.w D0, 0xA9F0
00000120 206D 2456 movea.l A0, [A5 + 0x2456]
00000124 A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
00000126 303C A9F1 move.w D0, 0xA9F1
0000012A 206D 245A movea.l A0, [A5 + 0x245A /* export_1159 */]
0000012E A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
label00000130:
00000130 A9F4 syscall ExitToShell
00000132 0000 0000 ori.b D0, 0x0
fn00000136:
00000136 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
0000013A 594F subq.w A7, 4
0000013C 266F 001C movea.l A3, [A7 + 0x1C]
00000140 7800 moveq.l D4, 0x00
00000142 6000 00E4 bra +0xE6 /* 00000228 */
label00000146:
00000146 1E9B move.b [A7], [A3]+
00000148 1F5B 0001 move.b [A7 + 0x1], [A3]+
0000014C 1F5B 0002 move.b [A7 + 0x2], [A3]+
00000150 1F5B 0003 move.b [A7 + 0x3], [A3]+
00000154 246F 0020 movea.l A2, [A7 + 0x20]
00000158 D5D7 add.l A2, [A7]
label0000015A:
0000015A 161B move.b D3, [A3]+
0000015C 4883 ext.w D3
0000015E 3003 move.w D0, D3
00000160 0240 0080 andi.w D0, 0x80
00000164 670E beq +0x10 /* 00000174 */
00000166 0243 007F andi.w D3, 0x7F
label0000016A:
0000016A 14DB move.b [A2]+, [A3]+
0000016C 5343 subq.w D3, 1
0000016E 4A43 tst.w D3
00000170 6CF8 bge -0x6 /* 0000016A */
00000172 60E6 bra -0x18 /* 0000015A */
label00000174:
00000174 3003 move.w D0, D3
00000176 0240 0040 andi.w D0, 0x40 /* '@' */
0000017A 670E beq +0x10 /* 0000018A */
0000017C 3003 move.w D0, D3
0000017E 0240 003F andi.w D0, 0x3F /* '?' */
00000182 5240 addq.w D0, 1
00000184 48C0 ext.l D0
00000186 D5C0 add.l A2, D0
00000188 60D0 bra -0x2E /* 0000015A */
label0000018A:
0000018A 3003 move.w D0, D3
0000018C 0240 0020 andi.w D0, 0x20 /* ' ' */
00000190 670A beq +0xC /* 0000019C */
00000192 0243 001F andi.w D3, 0x1F
00000196 5243 addq.w D3, 1
00000198 1A1B move.b D5, [A3]+
0000019A 600E bra +0x10 /* 000001AA */
label0000019C:
0000019C 3003 move.w D0, D3
0000019E 0240 0010 andi.w D0, 0x10
000001A2 6710 beq +0x12 /* 000001B4 */
000001A4 0243 000F andi.w D3, 0xF
000001A8 7AFF moveq.l D5, 0xFFFFFFFF
label000001AA:
000001AA 14C5 move.b [A2]+, D5
000001AC 5343 subq.w D3, 1
000001AE 4A43 tst.w D3
000001B0 6CF8 bge -0x6 /* 000001AA */
000001B2 60A6 bra -0x58 /* 0000015A */
label000001B4:
000001B4 3003 move.w D0, D3
000001B6 0C40 0004 cmpi.w D0, 0x4
000001BA 6264 bhi +0x66 /* 00000220 */
000001BC D040 add.w D0, D0
000001BE 303B 0006 move.w D0, [PC + D0.w + 0x6]
000001C2 4EFB 0002 jmp [PC + D0.w + 0x2]
000001C6 0060 000A ori.w -[A0], 0xA /* '\n' */
000001CA 001C 002C ori.b [A4]+, 0x2C /* ',' */
000001CE 0042 588A ori.w D2, 0x588A
000001D2 14FC FFFF move.b [A2]+, 0xFF
000001D6 14FC FFFF move.b [A2]+, 0xFF
000001DA 14DB move.b [A2]+, [A3]+
000001DC 14DB move.b [A2]+, [A3]+
000001DE 6000 FF7A bra -0x84 /* 0000015A */
000001E2 588A addq.l A2, 4
000001E4 14FC FFFF move.b [A2]+, 0xFF
000001E8 14DB move.b [A2]+, [A3]+
000001EA 14DB move.b [A2]+, [A3]+
000001EC 14DB move.b [A2]+, [A3]+
000001EE 6000 FF6A bra -0x94 /* 0000015A */
000001F2 14FC FFA9 move.b [A2]+, 0xA9
000001F6 14FC FFF0 move.b [A2]+, 0xF0
000001FA 548A addq.l A2, 2
000001FC 14DB move.b [A2]+, [A3]+
000001FE 14DB move.b [A2]+, [A3]+
00000200 528A addq.l A2, 1
00000202 14DB move.b [A2]+, [A3]+
00000204 6000 FF54 bra -0xAA /* 0000015A */
00000208 14FC FFA9 move.b [A2]+, 0xA9
0000020C 14FC FFF0 move.b [A2]+, 0xF0
00000210 528A addq.l A2, 1
00000212 14DB move.b [A2]+, [A3]+
00000214 14DB move.b [A2]+, [A3]+
00000216 14DB move.b [A2]+, [A3]+
00000218 528A addq.l A2, 1
0000021A 14DB move.b [A2]+, [A3]+
0000021C 6000 FF3C bra -0xC2 /* 0000015A */
label00000220:
00000220 3F3C 000F move.w -[A7], 0xF
00000224 A9C9 syscall SysError
00000226 5244 addq.w D4, 1
label00000228:
00000228 0C44 0003 cmpi.w D4, 0x3
0000022C 6D00 FF18 blt -0xE6 /* 00000146 */
00000230 204B movea.l A0, A3
00000232 584F addq.w A7, 4
00000234 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00000238 4E75 rts
fn0000023A:
0000023A 2F05 move.l -[A7], D5
0000023C 594F subq.w A7, 4
0000023E 226F 000C movea.l A1, [A7 + 0xC]
00000242 1E99 move.b [A7], [A1]+
00000244 1F59 0001 move.b [A7 + 0x1], [A1]+
00000248 1F59 0002 move.b [A7 + 0x2], [A1]+
0000024C 1F59 0003 move.b [A7 + 0x3], [A1]+
00000250 2A17 move.l D5, [A7]
00000252 7400 moveq.l D2, 0x00
00000254 604C bra +0x4E /* 000002A2 */
label00000256:
00000256 1219 move.b D1, [A1]+
00000258 1001 move.b D0, D1
0000025A 0240 0080 andi.w D0, 0x80
0000025E 670C beq +0xE /* 0000026C */
00000260 D201 add.b D1, D1
00000262 1001 move.b D0, D1
00000264 4880 ext.w D0
00000266 48C0 ext.l D0
00000268 D480 add.l D2, D0
0000026A 6028 bra +0x2A /* 00000294 */
label0000026C:
0000026C 1E81 move.b [A7], D1
0000026E 1F59 0001 move.b [A7 + 0x1], [A1]+
00000272 1001 move.b D0, D1
00000274 0240 0040 andi.w D0, 0x40 /* '@' */
00000278 670C beq +0xE /* 00000286 */
0000027A 3017 move.w D0, [A7]
0000027C E548 lsl D0.w, 2
0000027E E240 asr D0.w, 1
00000280 48C0 ext.l D0
00000282 D480 add.l D2, D0
00000284 600E bra +0x10 /* 00000294 */
label00000286:
00000286 1F59 0002 move.b [A7 + 0x2], [A1]+
0000028A 1F59 0003 move.b [A7 + 0x3], [A1]+
0000028E 2417 move.l D2, [A7]
00000290 E58A lsl D2, 2
00000292 E282 asr D2, 1
label00000294:
00000294 206F 0010 movea.l A0, [A7 + 0x10]
00000298 202F 0014 move.l D0, [A7 + 0x14]
0000029C D1B0 2800 add.l [A0 + D2], D0
000002A0 5385 subq.l D5, 1
label000002A2:
000002A2 4A85 tst.l D5
000002A4 6EB0 bgt -0x4E /* 00000256 */
000002A6 2049 movea.l A0, A1
000002A8 584F addq.w A7, 4
000002AA 2A1F move.l D5, [A7]+
000002AC 4E75 rts
fn000002AE:
000002AE 2F0A move.l -[A7], A2
000002B0 2449 movea.l A2, A1
000002B2 2F0D move.l -[A7], A5
000002B4 2F0A move.l -[A7], A2
000002B6 2F08 move.l -[A7], A0
000002B8 4EBA FF80 jsr [PC - 0x80 /* 0000023A */]
000002BC 2F2D 2452 move.l -[A7], [A5 + 0x2452 /* export_1158 */]
000002C0 2F0A move.l -[A7], A2
000002C2 2F08 move.l -[A7], A0
000002C4 4EBA FF74 jsr [PC - 0x8C /* 0000023A */]
000002C8 2F0A move.l -[A7], A2
000002CA 2F0A move.l -[A7], A2
000002CC 2F08 move.l -[A7], A0
000002CE 4EBA FF6A jsr [PC - 0x96 /* 0000023A */]
000002D2 4FEF 0024 lea.l A7, [A7 + 0x24]
000002D6 245F movea.l A2, [A7]+
000002D8 4E75 rts
fn000002DA:
000002DA 2F0A move.l -[A7], A2
000002DC 2449 movea.l A2, A1
000002DE 2F0D move.l -[A7], A5
000002E0 4497 neg.l [A7]
000002E2 2F0A move.l -[A7], A2
000002E4 2F08 move.l -[A7], A0
000002E6 4EBA FF52 jsr [PC - 0xAE /* 0000023A */]
000002EA 2F2D 2452 move.l -[A7], [A5 + 0x2452 /* export_1158 */]
000002EE 4497 neg.l [A7]
000002F0 2F0A move.l -[A7], A2
000002F2 2F08 move.l -[A7], A0
000002F4 4EBA FF44 jsr [PC - 0xBC /* 0000023A */]
000002F8 2F0A move.l -[A7], A2
000002FA 4497 neg.l [A7]
000002FC 2F0A move.l -[A7], A2
000002FE 2F08 move.l -[A7], A0
00000300 4EBA FF38 jsr [PC - 0xC8 /* 0000023A */]
00000304 4FEF 0024 lea.l A7, [A7 + 0x24]
00000308 245F movea.l A2, [A7]+
0000030A 4E75 rts
fn0000030C:
0000030C BBFA 0028 cmpa.l A5, [PC + 0x28 /* 00000336, value 0x0, cstring "" */]
00000310 6602 bne +0x4 /* 00000314 */
00000312 4E75 rts
label00000314:
00000314 48E7 0084 movem.l -[A7], A0,A5
00000318 2A7A 001C movea.l A5, [PC + 0x1C /* 00000336, value 0x0, cstring "" */]
0000031C 206D 2456 movea.l A0, [A5 + 0x2456]
00000320 4A6F 000C tst.w [A7 + 0xC]
00000324 6604 bne +0x6 /* 0000032A */
00000326 206D 245A movea.l A0, [A5 + 0x245A /* export_1159 */]
label0000032A:
0000032A 2F48 000A move.l [A7 + 0xA], A0
0000032E 4CDF 2100 movem.l A0,A5, [A7]+
00000332 544F addq.w A7, 2
00000334 4E75 rts
00000336 0000 0000 ori.b D0, 0x0
fn0000033A:
0000033A 41FA FFFA lea.l A0, [PC - 0x6 /* 00000336, value 0x0, cstring "" */]
0000033E 208D move.l [A0], A5
00000340 4E75 rts
00000342 3F3C 0001 move.w -[A7], 0x1
00000346 4EBA FFC4 jsr [PC - 0x3C /* 0000030C */]
0000034A 544F addq.w A7, 2
0000034C 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
00000350 55AF 0018 subq.l [A7 + 0x18], 2
00000354 246F 0018 movea.l A2, [A7 + 0x18]
00000358 202D 2440 move.l D0, [A5 + 0x2440]
0000035C 670A beq +0xC /* 00000368 */
0000035E 2040 movea.l A0, D0
00000360 3F2A 0006 move.w -[A7], [A2 + 0x6]
00000364 4E90 jsr [A0]
00000366 548F addq.l A7, 2
label00000368:
00000368 50F8 0A5E st [0x00000A5E /* ResLoad */]
0000036C 598F subq.l A7, 4
label0000036E:
0000036E 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00000374 3F2A 0006 move.w -[A7], [A2 + 0x6]
00000378 A9A0 syscall GetResource
0000037A 2017 move.l D0, [A7]
0000037C 6616 bne +0x18 /* 00000394 */
0000037E 202D 244C move.l D0, [A5 + 0x244C]
00000382 6604 bne +0x6 /* 00000388 */
00000384 700F moveq.l D0, 0x0F
00000386 A9C9 syscall SysError
label00000388:
00000388 2040 movea.l A0, D0
0000038A 3F2A 0006 move.w -[A7], [A2 + 0x6]
0000038E 4E90 jsr [A0]
00000390 548F addq.l A7, 2
00000392 60DA bra -0x24 /* 0000036E */
label00000394:
00000394 4A38 0BB2 tst.b [0x00000BB2 /* SegHiEnable */]
00000398 6704 beq +0x6 /* 0000039E */
0000039A 2040 movea.l A0, D0
0000039C A064 syscall MoveHHi
label0000039E:
0000039E 2057 movea.l A0, [A7]
000003A0 A029 syscall HLock
000003A2 205F movea.l A0, [A7]+
000003A4 2050 movea.l A0, [A0]
000003A6 2008 move.l D0, A0
000003A8 A055 syscall StripAddress
000003AA 2040 movea.l A0, D0
000003AC 2F08 move.l -[A7], A0
000003AE 2248 movea.l A1, A0
000003B0 D1E8 0008 add.l A0, [A0 + 0x8]
000003B4 4EBA FEF8 jsr [PC - 0x108 /* 000002AE */]
000003B8 205F movea.l A0, [A7]+
000003BA 224D movea.l A1, A5
000003BC D3E8 0004 add.l A1, [A0 + 0x4]
000003C0 3028 0002 move.w D0, [A0 + 0x2]
000003C4 2208 move.l D1, A0
000003C6 600C bra +0xE /* 000003D4 */
label000003C8:
000003C8 337C 4EF9 0000 move.w [A1 + 0x0], 0x4EF9
000003CE D3A9 0002 add.l [A1 + 0x2], D1
000003D2 5089 addq.l A1, 8
label000003D4:
000003D4 51C8 FFF2 dbf D0, -0x10 /* 000003C8 */
000003D8 4A2D 2450 tst.b [A5 + 0x2450]
000003DC 6704 beq +0x6 /* 000003E2 */
000003DE 7001 moveq.l D0, 0x01
000003E0 A198 syscall HWPriv, flags=1
label000003E2:
000003E2 202D 2444 move.l D0, [A5 + 0x2444]
000003E6 670A beq +0xC /* 000003F2 */
000003E8 2040 movea.l A0, D0
000003EA 3F2A 0006 move.w -[A7], [A2 + 0x6]
000003EE 4E90 jsr [A0]
000003F0 548F addq.l A7, 2
label000003F2:
000003F2 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
000003F6 4A38 012D tst.b [0x0000012D /* LoadTrap */]
000003FA 6702 beq +0x4 /* 000003FE */
000003FC A9FF syscall Debugger
label000003FE:
000003FE 4E75 rts
00000400 3F3C 0000 move.w -[A7], 0x0
00000404 4EBA FF06 jsr [PC - 0xFA /* 0000030C */]
00000408 544F addq.w A7, 2
0000040A 2F0A move.l -[A7], A2
0000040C 246F 0008 movea.l A2, [A7 + 0x8]
00000410 0C6A 4EF9 0000 cmpi.w [A2 + 0x0], 0x4EF9
00000416 6670 bne +0x72 /* 00000488 */
00000418 0C6A 0002 0006 cmpi.w [A2 + 0x6], 0x2
0000041E 6D68 blt +0x6A /* 00000488 */
00000420 598F subq.l A7, 4
00000422 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00000428 3F2A 0006 move.w -[A7], [A2 + 0x6]
0000042C A9A0 syscall GetResource
0000042E 2017 move.l D0, [A7]
00000430 6604 bne +0x6 /* 00000436 */
00000432 588F addq.l A7, 4
00000434 6052 bra +0x54 /* 00000488 */
label00000436:
00000436 2040 movea.l A0, D0
00000438 2050 movea.l A0, [A0]
0000043A 2248 movea.l A1, A0
0000043C D1E8 0008 add.l A0, [A0 + 0x8]
00000440 4EBA FE98 jsr [PC - 0x168 /* 000002DA */]
00000444 2057 movea.l A0, [A7]
00000446 2050 movea.l A0, [A0]
00000448 224D movea.l A1, A5
0000044A D3E8 0004 add.l A1, [A0 + 0x4]
0000044E 3028 0002 move.w D0, [A0 + 0x2]
00000452 2208 move.l D1, A0
00000454 600C bra +0xE /* 00000462 */
label00000456:
00000456 337C A9F0 0000 move.w [A1 + 0x0], 0xA9F0
0000045C 93A9 0002 sub.l [A1 + 0x2], D1
00000460 5089 addq.l A1, 8
label00000462:
00000462 51C8 FFF2 dbf D0, -0x10 /* 00000456 */
00000466 2057 movea.l A0, [A7]
00000468 A02A syscall HUnlock
0000046A 205F movea.l A0, [A7]+
0000046C A049 syscall HPurge
0000046E 4A2D 2450 tst.b [A5 + 0x2450]
00000472 6704 beq +0x6 /* 00000478 */
00000474 7001 moveq.l D0, 0x01
00000476 A198 syscall HWPriv, flags=1
label00000478:
00000478 202D 2448 move.l D0, [A5 + 0x2448]
0000047C 670A beq +0xC /* 00000488 */
0000047E 2040 movea.l A0, D0
00000480 3F2A 0006 move.w -[A7], [A2 + 0x6]
00000484 4E90 jsr [A0]
00000486 548F addq.l A7, 2
label00000488:
00000488 245F movea.l A2, [A7]+
0000048A 2E9F move.l [A7], [A7]+
0000048C 4E75 rts
0000048E 4E75 rts
fn00000490:
00000490 2F0A move.l -[A7], A2
00000492 6014 bra +0x16 /* 000004A8 */
label00000494:
00000494 2B52 2438 move.l [A5 + 0x2438], [A2]
00000498 3F3C FFFF move.w -[A7], 0xFFFF
0000049C 2F2A 0008 move.l -[A7], [A2 + 0x8]
000004A0 206A 0004 movea.l A0, [A2 + 0x4]
000004A4 4E90 jsr [A0]
000004A6 5C4F addq.w A7, 6
label000004A8:
000004A8 246D 2438 movea.l A2, [A5 + 0x2438]
000004AC 200A move.l D0, A2
000004AE 66E4 bne -0x1A /* 00000494 */
000004B0 245F movea.l A2, [A7]+
000004B2 4E75 rts
000004B4 48E7 3000 movem.l -[A7], D2,D3
000004B8 7402 moveq.l D2, 0x02
000004BA 4EFB 2200 jmp [PC + D2.w * 2]
000004BE 600A bra +0xC /* 000004CA */
000004C0 4C01 0000 movem.w <none>, D1
000004C4 4CDF 000C movem.l D2,D3, [A7]+
000004C8 4E75 rts
label000004CA:
000004CA 2400 move.l D2, D0
000004CC 4842 swap.w D2
000004CE C4C1 mulu.w D2, D1
000004D0 2601 move.l D3, D1
000004D2 4843 swap.w D3
000004D4 C6C0 mulu.w D3, D0
000004D6 D443 add.w D2, D3
000004D8 4842 swap.w D2
000004DA 4242 clr.w D2
000004DC C0C1 mulu.w D0, D1
000004DE D082 add.l D0, D2
000004E0 4CDF 000C movem.l D2,D3, [A7]+
000004E4 4E75 rts
fn000004E6:
000004E6 48E7 3000 movem.l -[A7], D2,D3
000004EA 7402 moveq.l D2, 0x02
000004EC 4EFB 2200 jmp [PC + D2.w * 2]
000004F0 600A bra +0xC /* 000004FC */
000004F2 4C41 0000 movem.l <none>, D1
000004F6 4CDF 000C movem.l D2,D3, [A7]+
000004FA 4E75 rts
label000004FC:
000004FC 2401 move.l D2, D1
000004FE 4242 clr.w D2
00000500 4842 swap.w D2
00000502 661C bne +0x1E /* 00000520 */
00000504 3600 move.w D3, D0
00000506 4240 clr.w D0
00000508 4840 swap.w D0
0000050A 6706 beq +0x8 /* 00000512 */
0000050C 80C1 divu.w D0, D1
0000050E 3400 move.w D2, D0
00000510 4842 swap.w D2
label00000512:
00000512 3003 move.w D0, D3
00000514 80C1 divu.w D0, D1
00000516 3400 move.w D2, D0
00000518 2002 move.l D0, D2
0000051A 4CDF 000C movem.l D2,D3, [A7]+
0000051E 4E75 rts
label00000520:
00000520 3400 move.w D2, D0
00000522 4240 clr.w D0
00000524 4840 swap.w D0
00000526 4842 swap.w D2
00000528 2601 move.l D3, D1
0000052A 720F moveq.l D1, 0x0F
label0000052C:
0000052C D482 add.l D2, D2
0000052E D180 addx.l D0, D0
00000530 B083 cmp.l D0, D3
00000532 6504 bcs +0x6 /* 00000538 */
00000534 9083 sub.l D0, D3
00000536 5202 addq.b D2, 1
label00000538:
00000538 51C9 FFF2 dbf D1, -0x10 /* 0000052C */
0000053C 2002 move.l D0, D2
0000053E 4CDF 000C movem.l D2,D3, [A7]+
00000542 4E75 rts
00000544 4A80 tst.l D0
00000546 6C0C bge +0xE /* 00000554 */
00000548 4480 neg.l D0
0000054A 4A81 tst.l D1
0000054C 6C10 bge +0x12 /* 0000055E */
0000054E 4481 neg.l D1
00000550 4EFA FF94 jmp [PC - 0x6C /* 000004E6 */]
label00000554:
00000554 4A81 tst.l D1
00000556 6D04 blt +0x6 /* 0000055C */
00000558 4EFA FF8C jmp [PC - 0x74 /* 000004E6 */]
label0000055C:
0000055C 4481 neg.l D1
label0000055E:
0000055E 4EBA FF86 jsr [PC - 0x7A /* 000004E6 */]
00000562 4480 neg.l D0
00000564 4E75 rts
fn00000566:
00000566 48E7 3000 movem.l -[A7], D2,D3
0000056A 7402 moveq.l D2, 0x02
0000056C 4EFB 2200 jmp [PC + D2.w * 2]
00000570 600C bra +0xE /* 0000057E */
00000572 4C41 0001 movem.l D0, D1
00000576 2001 move.l D0, D1
00000578 4CDF 000C movem.l D2,D3, [A7]+
0000057C 4E75 rts
label0000057E:
0000057E 48E7 3000 movem.l -[A7], D2,D3
00000582 2401 move.l D2, D1
00000584 4242 clr.w D2
00000586 4842 swap.w D2
00000588 661C bne +0x1E /* 000005A6 */
0000058A 3600 move.w D3, D0
0000058C 4240 clr.w D0
0000058E 4840 swap.w D0
00000590 6706 beq +0x8 /* 00000598 */
00000592 80C1 divu.w D0, D1
00000594 3400 move.w D2, D0
00000596 4842 swap.w D2
label00000598:
00000598 3003 move.w D0, D3
0000059A 80C1 divu.w D0, D1
0000059C 4240 clr.w D0
0000059E 4840 swap.w D0
000005A0 4CDF 000C movem.l D2,D3, [A7]+
000005A4 4E75 rts
label000005A6:
000005A6 3400 move.w D2, D0
000005A8 4240 clr.w D0
000005AA 4840 swap.w D0
000005AC 4842 swap.w D2
000005AE 2601 move.l D3, D1
000005B0 720F moveq.l D1, 0x0F
label000005B2:
000005B2 D482 add.l D2, D2
000005B4 D180 addx.l D0, D0
000005B6 B083 cmp.l D0, D3
000005B8 6502 bcs +0x4 /* 000005BC */
000005BA 9083 sub.l D0, D3
label000005BC:
000005BC 51C9 FFF4 dbf D1, -0xE /* 000005B2 */
000005C0 4CDF 000C movem.l D2,D3, [A7]+
000005C4 4E75 rts
000005C6 4A81 tst.l D1
000005C8 6C02 bge +0x4 /* 000005CC */
000005CA 4481 neg.l D1
label000005CC:
000005CC 4A80 tst.l D0
000005CE 6D04 blt +0x6 /* 000005D4 */
000005D0 4EFA FF94 jmp [PC - 0x6C /* 00000566 */]
label000005D4:
000005D4 4480 neg.l D0
000005D6 4EBA FF8E jsr [PC - 0x72 /* 00000566 */]
000005DA 4480 neg.l D0
000005DC 4E75 rts
000005DE 205F movea.l A0, [A7]+
000005E0 2248 movea.l A1, A0
000005E2 D2D8 add.w A1, [A0]+
000005E4 B098 cmp.l D0, [A0]+
000005E6 6C02 bge +0x4 /* 000005EA */
000005E8 4ED1 jmp [A1]
label000005EA:
000005EA B098 cmp.l D0, [A0]+
000005EC 6F02 ble +0x4 /* 000005F0 */
000005EE 4ED1 jmp [A1]
label000005F0:
000005F0 3218 move.w D1, [A0]+
label000005F2:
000005F2 B098 cmp.l D0, [A0]+
000005F4 6604 bne +0x6 /* 000005FA */
000005F6 D0D0 add.w A0, [A0]
000005F8 4ED0 jmp [A0]
label000005FA:
000005FA 5448 addq.w A0, 2
000005FC 51C9 FFF4 dbf D1, -0xE /* 000005F2 */
00000600 4ED1 jmp [A1]
00000602 4E75 rts
fn00000604:
00000604 4E56 FFBC link A6, -0x0044
00000608 2F0A move.l -[A7], A2
0000060A 2D6E 0008 FFC0 move.l [A6 - 0x40], [A6 + 0x8]
00000610 2D6E 000C FFBC move.l [A6 - 0x44], [A6 + 0xC]
00000616 45ED 9646 lea.l A2, [A5 - 0x69BA]
0000061A 200A move.l D0, A2
0000061C 672C beq +0x2E /* 0000064A */
0000061E 4A92 tst.l [A2]
00000620 6724 beq +0x26 /* 00000646 */
00000622 2F12 move.l -[A7], [A2]
00000624 61FF 0000 2746 bsr +0x2748 /* 00002D6C */
0000062A 4A80 tst.l D0
0000062C 584F addq.w A7, 4
0000062E 670C beq +0xE /* 0000063C */
00000630 486E FFBC pea.l [A6 - 0x44]
00000634 2052 movea.l A0, [A2]
00000636 4E90 jsr [A0]
00000638 584F addq.w A7, 4
0000063A 601A bra +0x1C /* 00000656 */
label0000063C:
0000063C 41F9 0000 0660 lea.l A0, [0x00000660]
00000642 2488 move.l [A2], A0
00000644 6004 bra +0x6 /* 0000064A */
label00000646:
00000646 7000 moveq.l D0, 0x00
00000648 600C bra +0xE /* 00000656 */
label0000064A:
0000064A 486E FFBC pea.l [A6 - 0x44]
0000064E 61FF 0000 000C bsr +0xE /* 0000065C */
00000654 584F addq.w A7, 4
label00000656:
00000656 245F movea.l A2, [A7]+
00000658 4E5E unlink A6
0000065A 4E75 rts
fn0000065C:
0000065C 4E56 0000 link A6, 0
00000660 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00000664 206E 0008 movea.l A0, [A6 + 0x8]
00000668 2610 move.l D3, [A0]
0000066A 41ED 9646 lea.l A0, [A5 - 0x69BA]
0000066E 2448 movea.l A2, A0
00000670 2008 move.l D0, A0
00000672 4A80 tst.l D0
00000674 6716 beq +0x18 /* 0000068C */
00000676 202A 0010 move.l D0, [A2 + 0x10]
0000067A 52AA 0010 addq.l [A2 + 0x10], 1
0000067E 7205 moveq.l D1, 0x05
00000680 B081 cmp.l D0, D1
00000682 6308 bls +0xA /* 0000068C */
00000684 53AA 0010 subq.l [A2 + 0x10], 1
00000688 7000 moveq.l D0, 0x00
0000068A 6042 bra +0x44 /* 000006CE */
label0000068C:
0000068C 2003 move.l D0, D3
0000068E 5580 subq.l D0, 2
00000690 670A beq +0xC /* 0000069C */
00000692 0C80 0000 000C cmpi.l D0, 0xC
00000698 620A bhi +0xC /* 000006A4 */
0000069A 6004 bra +0x6 /* 000006A0 */
label0000069C:
0000069C 7801 moveq.l D4, 0x01
0000069E 6008 bra +0xA /* 000006A8 */
label000006A0:
000006A0 7800 moveq.l D4, 0x00
000006A2 6004 bra +0x6 /* 000006A8 */
label000006A4:
000006A4 7800 moveq.l D4, 0x00
000006A6 7601 moveq.l D3, 0x01
label000006A8:
000006A8 2F03 move.l -[A7], D3
000006AA 61FF 0000 0048 bsr +0x4A /* 000006F4 */
000006B0 2648 movea.l A3, A0
000006B2 2F04 move.l -[A7], D4
000006B4 2F0A move.l -[A7], A2
000006B6 2F0B move.l -[A7], A3
000006B8 61FF 0000 001C bsr +0x1E /* 000006D6 */
000006BE 2600 move.l D3, D0
000006C0 200A move.l D0, A2
000006C2 4FEF 0010 lea.l A7, [A7 + 0x10]
000006C6 6704 beq +0x6 /* 000006CC */
000006C8 53AA 0010 subq.l [A2 + 0x10], 1
label000006CC:
000006CC 2003 move.l D0, D3
label000006CE:
000006CE 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000006D2 4E5E unlink A6
000006D4 4E75 rts
fn000006D6:
000006D6 4E56 FFFC link A6, -0x0004
000006DA 42AE FFFC clr.l [A6 - 0x4]
000006DE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000006E2 2F2E 0010 move.l -[A7], [A6 + 0x10]
000006E6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000006EA 61FF 0000 2104 bsr +0x2106 /* 000027F0 */
000006F0 4E5E unlink A6
000006F2 4E75 rts
fn000006F4:
000006F4 4E56 0000 link A6, 0
000006F8 7002 moveq.l D0, 0x02
000006FA B0AE 0008 cmp.l D0, [A6 + 0x8]
000006FE 6606 bne +0x8 /* 00000706 */
00000700 41ED 9608 lea.l A0, [A5 - 0x69F8]
00000704 6010 bra +0x12 /* 00000716 */
label00000706:
00000706 701A moveq.l D0, 0x1A
00000708 4C2E 0800 0008 movem.w A3, [A6 + 0x8]
0000070E 41ED 9468 lea.l A0, [A5 - 0x6B98]
00000712 D1C0 add.l A0, D0
00000714 5888 addq.l A0, 4
label00000716:
00000716 4E5E unlink A6
00000718 4E75 rts
0000071A 4E56 0000 link A6, 0
0000071E 48E7 0038 movem.l -[A7], A2,A3,A4
00000722 266E 0008 movea.l A3, [A6 + 0x8]
00000726 45ED 9646 lea.l A2, [A5 - 0x69BA]
0000072A 200A move.l D0, A2
0000072C 671A beq +0x1C /* 00000748 */
0000072E 200B move.l D0, A3
00000730 670E beq +0x10 /* 00000740 */
00000732 2F0B move.l -[A7], A3
00000734 61FF 0000 2636 bsr +0x2638 /* 00002D6C */
0000073A 4A80 tst.l D0
0000073C 584F addq.w A7, 4
0000073E 6708 beq +0xA /* 00000748 */
label00000740:
00000740 2852 movea.l A4, [A2]
00000742 248B move.l [A2], A3
00000744 204C movea.l A0, A4
00000746 6002 bra +0x4 /* 0000074A */
label00000748:
00000748 91C8 sub.l A0, A0
label0000074A:
0000074A 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000074E 4E5E unlink A6
00000750 4E75 rts
fn00000752:
00000752 4E56 0000 link A6, 0
00000756 226E 0008 movea.l A1, [A6 + 0x8]
0000075A 2069 0006 movea.l A0, [A1 + 0x6]
0000075E 2169 0002 0002 move.l [A0 + 0x2], [A1 + 0x2]
00000764 2069 0002 movea.l A0, [A1 + 0x2]
00000768 2169 0006 0006 move.l [A0 + 0x6], [A1 + 0x6]
0000076E 4E5E unlink A6
00000770 4E75 rts
fn00000772:
00000772 4E56 0000 link A6, 0
00000776 2F0B move.l -[A7], A3
00000778 266E 0008 movea.l A3, [A6 + 0x8]
0000077C 226E 000C movea.l A1, [A6 + 0xC]
00000780 2749 0006 move.l [A3 + 0x6], A1
00000784 2769 0002 0002 move.l [A3 + 0x2], [A1 + 0x2]
0000078A 2069 0002 movea.l A0, [A1 + 0x2]
0000078E 214B 0006 move.l [A0 + 0x6], A3
00000792 234B 0002 move.l [A1 + 0x2], A3
00000796 265F movea.l A3, [A7]+
00000798 4E5E unlink A6
0000079A 4E75 rts
fn0000079C:
0000079C 4E56 0000 link A6, 0
000007A0 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000007A4 2C2E 0008 move.l D6, [A6 + 0x8]
000007A8 2046 movea.l A0, D6
000007AA 2E28 002C move.l D7, [A0 + 0x2C]
000007AE 7A00 moveq.l D5, 0x00
000007B0 6054 bra +0x56 /* 00000806 */
label000007B2:
000007B2 7000 moveq.l D0, 0x00
000007B4 3005 move.w D0, D5
000007B6 2046 movea.l A0, D6
000007B8 2470 0C00 movea.l A2, [A0 + D0 * 4]
000007BC 200A move.l D0, A2
000007BE 4A80 tst.l D0
000007C0 6742 beq +0x44 /* 00000804 */
000007C2 0C45 0003 cmpi.w D5, 0x3
000007C6 673C beq +0x3E /* 00000804 */
000007C8 99CC sub.l A4, A4
label000007CA:
000007CA 266A 0004 movea.l A3, [A2 + 0x4]
000007CE 206A 000C movea.l A0, [A2 + 0xC]
000007D2 4A68 000C tst.w [A0 + 0xC]
000007D6 6620 bne +0x22 /* 000007F8 */
000007D8 262A 000C move.l D3, [A2 + 0xC]
000007DC 4878 0001 push.l 0x1
000007E0 2F03 move.l -[A7], D3
000007E2 61FF 0000 04E4 bsr +0x4E6 /* 00000CC8 */
000007E8 2800 move.l D4, D0
000007EA 4A84 tst.l D4
000007EC 504F addq.w A7, 8
000007EE 6732 beq +0x34 /* 00000822 */
000007F0 B5CB cmpa.l A2, A3
000007F2 660A bne +0xC /* 000007FE */
000007F4 97CB sub.l A3, A3
000007F6 6006 bra +0x8 /* 000007FE */
label000007F8:
000007F8 200C move.l D0, A4
000007FA 6602 bne +0x4 /* 000007FE */
000007FC 284A movea.l A4, A2
label000007FE:
000007FE 244B movea.l A2, A3
00000800 B7CC cmpa.l A3, A4
00000802 66C6 bne -0x38 /* 000007CA */
label00000804:
00000804 5245 addq.w D5, 1
label00000806:
00000806 0C45 0005 cmpi.w D5, 0x5
0000080A 65A6 bcs -0x58 /* 000007B2 */
0000080C 2046 movea.l A0, D6
0000080E 4AA8 0040 tst.l [A0 + 0x40]
00000812 670E beq +0x10 /* 00000822 */
00000814 3F3C FFFF move.w -[A7], 0xFFFF
00000818 2F06 move.l -[A7], D6
0000081A 2068 0040 movea.l A0, [A0 + 0x40]
0000081E 4E90 jsr [A0]
00000820 5C4F addq.w A7, 6
label00000822:
00000822 2046 movea.l A0, D6
00000824 2007 move.l D0, D7
00000826 90A8 002C sub.l D0, [A0 + 0x2C]
0000082A 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
0000082E 4E5E unlink A6
00000830 4E75 rts
fn00000832:
00000832 4E56 0000 link A6, 0
00000836 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
0000083A 246E 0008 movea.l A2, [A6 + 0x8]
0000083E 2A2E 000C move.l D5, [A6 + 0xC]
00000842 7600 moveq.l D3, 0x00
00000844 0C6A BEAD 0020 cmpi.w [A2 + 0x20], 0xBEAD
0000084A 6712 beq +0x14 /* 0000085E */
0000084C 4878 000A push.l 0xA /* '\n' */
00000850 42A7 clr.l -[A7]
00000852 61FF FFFF FDB0 bsr -0x24E /* 00000604 */
00000858 70FF moveq.l D0, 0xFFFFFFFF
0000085A 504F addq.w A7, 8
0000085C 6062 bra +0x64 /* 000008C0 */
label0000085E:
0000085E 202E 0010 move.l D0, [A6 + 0x10]
00000862 5380 subq.l D0, 1
00000864 670A beq +0xC /* 00000870 */
00000866 5380 subq.l D0, 1
00000868 6724 beq +0x26 /* 0000088E */
0000086A 5580 subq.l D0, 2
0000086C 671C beq +0x1E /* 0000088A */
0000086E 6022 bra +0x24 /* 00000892 */
label00000870:
00000870 7801 moveq.l D4, 0x01
00000872 4AAA 0024 tst.l [A2 + 0x24]
00000876 6642 bne +0x44 /* 000008BA */
00000878 4878 0004 push.l 0x4
0000087C 2F0A move.l -[A7], A2
0000087E 61FF FFFF FD84 bsr -0x27A /* 00000604 */
00000884 70FF moveq.l D0, 0xFFFFFFFF
00000886 504F addq.w A7, 8
00000888 6036 bra +0x38 /* 000008C0 */
label0000088A:
0000088A 7800 moveq.l D4, 0x00
0000088C 602C bra +0x2E /* 000008BA */
label0000088E:
0000088E 7802 moveq.l D4, 0x02
00000890 6028 bra +0x2A /* 000008BA */
label00000892:
00000892 70FF moveq.l D0, 0xFFFFFFFF
00000894 602A bra +0x2C /* 000008C0 */
label00000896:
00000896 42A7 clr.l -[A7]
00000898 7000 moveq.l D0, 0x00
0000089A 302A 0028 move.w D0, [A2 + 0x28]
0000089E 2F00 move.l -[A7], D0
000008A0 3F04 move.w -[A7], D4
000008A2 2F0A move.l -[A7], A2
000008A4 61FF 0000 02F8 bsr +0x2FA /* 00000B9E */
000008AA 2008 move.l D0, A0
000008AC 4FEF 000E lea.l A7, [A7 + 0xE]
000008B0 670C beq +0xE /* 000008BE */
000008B2 7000 moveq.l D0, 0x00
000008B4 302A 0028 move.w D0, [A2 + 0x28]
000008B8 D680 add.l D3, D0
label000008BA:
000008BA B685 cmp.l D3, D5
000008BC 65D8 bcs -0x26 /* 00000896 */
label000008BE:
000008BE 2003 move.l D0, D3
label000008C0:
000008C0 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000008C4 4E5E unlink A6
000008C6 4E75 rts
fn000008C8:
000008C8 4E56 0000 link A6, 0
000008CC 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
000008D0 262E 0008 move.l D3, [A6 + 0x8]
000008D4 95CA sub.l A2, A2
000008D6 99CC sub.l A4, A4
000008D8 7A00 moveq.l D5, 0x00
000008DA 97CB sub.l A3, A3
000008DC 2043 movea.l A0, D3
000008DE 4AA8 0058 tst.l [A0 + 0x58]
000008E2 6700 008A beq +0x8C /* 0000096E */
000008E6 2F03 move.l -[A7], D3
000008E8 61FF 0000 2408 bsr +0x240A /* 00002CF2 */
000008EE 2A00 move.l D5, D0
000008F0 0C85 0000 FFFF cmpi.l D5, 0xFFFF
000008F6 584F addq.w A7, 4
000008F8 6400 008C bcc +0x8E /* 00000986 */
000008FC 0C85 0000 4000 cmpi.l D5, 0x4000 /* '@\0' */
00000902 6508 bcs +0xA /* 0000090C */
00000904 203C 0000 4000 move.l D0, 0x4000 /* '@\0' */
0000090A 6004 bra +0x6 /* 00000910 */
label0000090C:
0000090C 7000 moveq.l D0, 0x00
0000090E 3005 move.w D0, D5
label00000910:
00000910 7200 moveq.l D1, 0x00
00000912 3200 move.w D1, D0
00000914 2C01 move.l D6, D1
00000916 2043 movea.l A0, D3
00000918 7000 moveq.l D0, 0x00
0000091A 3028 0022 move.w D0, [A0 + 0x22]
0000091E 0080 0000 1000 ori.l D0, 0x1000
00000924 2F00 move.l -[A7], D0
00000926 2005 move.l D0, D5
00000928 D086 add.l D0, D6
0000092A 0C80 0000 FFFF cmpi.l D0, 0xFFFF
00000930 6508 bcs +0xA /* 0000093A */
00000932 203C 0000 FFFF move.l D0, 0xFFFF
00000938 6004 bra +0x6 /* 0000093E */
label0000093A:
0000093A 2005 move.l D0, D5
0000093C D086 add.l D0, D6
label0000093E:
0000093E 2800 move.l D4, D0
00000940 2F00 move.l -[A7], D0
00000942 2F03 move.l -[A7], D3
00000944 61FF 0000 2316 bsr +0x2318 /* 00002C5C */
0000094A 4A80 tst.l D0
0000094C 4FEF 000C lea.l A7, [A7 + 0xC]
00000950 6734 beq +0x36 /* 00000986 */
00000952 2005 move.l D0, D5
00000954 725C moveq.l D1, 0x5C
00000956 9081 sub.l D0, D1
00000958 E888 lsr D0, 4
0000095A 5280 addq.l D0, 1
0000095C E988 lsl D0, 4
0000095E 2443 movea.l A2, D3
00000960 D5C0 add.l A2, D0
00000962 45EA 004C lea.l A2, [A2 + 0x4C]
00000966 2043 movea.l A0, D3
00000968 9BA8 002C sub.l [A0 + 0x2C], D5
0000096C 6018 bra +0x1A /* 00000986 */
label0000096E:
0000096E 2F03 move.l -[A7], D3
00000970 61FF 0000 2380 bsr +0x2382 /* 00002CF2 */
00000976 2800 move.l D4, D0
00000978 2443 movea.l A2, D3
0000097A 45EA 004C lea.l A2, [A2 + 0x4C]
0000097E 2043 movea.l A0, D3
00000980 99A8 002C sub.l [A0 + 0x2C], D4
00000984 584F addq.w A7, 4
label00000986:
00000986 200A move.l D0, A2
00000988 6724 beq +0x26 /* 000009AE */
0000098A 2F03 move.l -[A7], D3
0000098C 61FF 0000 2364 bsr +0x2366 /* 00002CF2 */
00000992 2800 move.l D4, D0
00000994 2004 move.l D0, D4
00000996 725C moveq.l D1, 0x5C
00000998 9081 sub.l D0, D1
0000099A E888 lsr D0, 4
0000099C 5280 addq.l D0, 1
0000099E E988 lsl D0, 4
000009A0 2843 movea.l A4, D3
000009A2 D9C0 add.l A4, D0
000009A4 49EC 003C lea.l A4, [A4 + 0x3C]
000009A8 584F addq.w A7, 4
000009AA 6000 00CE bra +0xD0 /* 00000A7A */
label000009AE:
000009AE 2043 movea.l A0, D3
000009B0 2668 0048 movea.l A3, [A0 + 0x48]
000009B4 200B move.l D0, A3
000009B6 4A80 tst.l D0
000009B8 6766 beq +0x68 /* 00000A20 */
000009BA 2F0B move.l -[A7], A3
000009BC 61FF 0000 2334 bsr +0x2336 /* 00002CF2 */
000009C2 2A00 move.l D5, D0
000009C4 0C80 0000 FFFF cmpi.l D0, 0xFFFF
000009CA 584F addq.w A7, 4
000009CC 6452 bcc +0x54 /* 00000A20 */
000009CE 2043 movea.l A0, D3
000009D0 7000 moveq.l D0, 0x00
000009D2 3028 0022 move.w D0, [A0 + 0x22]
000009D6 0080 0000 1000 ori.l D0, 0x1000
000009DC 2F00 move.l -[A7], D0
000009DE 0C85 0000 4000 cmpi.l D5, 0x4000 /* '@\0' */
000009E4 6508 bcs +0xA /* 000009EE */
000009E6 203C 0000 4000 move.l D0, 0x4000 /* '@\0' */
000009EC 6004 bra +0x6 /* 000009F2 */
label000009EE:
000009EE 7000 moveq.l D0, 0x00
000009F0 3005 move.w D0, D5
label000009F2:
000009F2 7200 moveq.l D1, 0x00
000009F4 3200 move.w D1, D0
000009F6 D285 add.l D1, D5
000009F8 2801 move.l D4, D1
000009FA 2F01 move.l -[A7], D1
000009FC 2F0B move.l -[A7], A3
000009FE 61FF 0000 225C bsr +0x225E /* 00002C5C */
00000A04 4A80 tst.l D0
00000A06 4FEF 000C lea.l A7, [A7 + 0xC]
00000A0A 6714 beq +0x16 /* 00000A20 */
00000A0C 2005 move.l D0, D5
00000A0E 7214 moveq.l D1, 0x14
00000A10 9081 sub.l D0, D1
00000A12 E888 lsr D0, 4
00000A14 5280 addq.l D0, 1
00000A16 E988 lsl D0, 4
00000A18 244B movea.l A2, A3
00000A1A D5C0 add.l A2, D0
00000A1C 588A addq.l A2, 4
00000A1E 605A bra +0x5C /* 00000A7A */
label00000A20:
00000A20 7A00 moveq.l D5, 0x00
00000A22 283C 0000 1000 move.l D4, 0x1000
00000A28 6020 bra +0x22 /* 00000A4A */
label00000A2A:
00000A2A E28C lsr D4, 1
00000A2C 7014 moveq.l D0, 0x14
00000A2E B880 cmp.l D4, D0
00000A30 6418 bcc +0x1A /* 00000A4A */
00000A32 D884 add.l D4, D4
00000A34 4878 0002 push.l 0x2
00000A38 2F03 move.l -[A7], D3
00000A3A 61FF FFFF FBC8 bsr -0x436 /* 00000604 */
00000A40 4A80 tst.l D0
00000A42 504F addq.w A7, 8
00000A44 6604 bne +0x6 /* 00000A4A */
00000A46 7000 moveq.l D0, 0x00
00000A48 607C bra +0x7E /* 00000AC6 */
label00000A4A:
00000A4A 2043 movea.l A0, D3
00000A4C 7000 moveq.l D0, 0x00
00000A4E 3028 0022 move.w D0, [A0 + 0x22]
00000A52 0080 0000 1000 ori.l D0, 0x1000
00000A58 2F00 move.l -[A7], D0
00000A5A 2F04 move.l -[A7], D4
00000A5C 61FF 0000 20AE bsr +0x20B0 /* 00002B0C */
00000A62 2648 movea.l A3, A0
00000A64 2008 move.l D0, A0
00000A66 4A80 tst.l D0
00000A68 504F addq.w A7, 8
00000A6A 67BE beq -0x40 /* 00000A2A */
00000A6C 2043 movea.l A0, D3
00000A6E 26A8 0048 move.l [A3], [A0 + 0x48]
00000A72 214B 0048 move.l [A0 + 0x48], A3
00000A76 244B movea.l A2, A3
00000A78 588A addq.l A2, 4
label00000A7A:
00000A7A 200C move.l D0, A4
00000A7C 6626 bne +0x28 /* 00000AA4 */
00000A7E 2043 movea.l A0, D3
00000A80 9BA8 002C sub.l [A0 + 0x2C], D5
00000A84 2F0B move.l -[A7], A3
00000A86 61FF 0000 226A bsr +0x226C /* 00002CF2 */
00000A8C 2800 move.l D4, D0
00000A8E 2004 move.l D0, D4
00000A90 7214 moveq.l D1, 0x14
00000A92 9081 sub.l D0, D1
00000A94 E888 lsr D0, 4
00000A96 5280 addq.l D0, 1
00000A98 E988 lsl D0, 4
00000A9A 284B movea.l A4, A3
00000A9C D9C0 add.l A4, D0
00000A9E 518C subq.l A4, 8
00000AA0 598C subq.l A4, 4
00000AA2 584F addq.w A7, 4
label00000AA4:
00000AA4 2043 movea.l A0, D3
00000AA6 D9A8 002C add.l [A0 + 0x2C], D4
00000AAA 2668 0014 movea.l A3, [A0 + 0x14]
label00000AAE:
00000AAE 254B 0004 move.l [A2 + 0x4], A3
00000AB2 264A movea.l A3, A2
00000AB4 204A movea.l A0, A2
00000AB6 7010 moveq.l D0, 0x10
00000AB8 D5C0 add.l A2, D0
00000ABA B1CC cmpa.l A0, A4
00000ABC 65F0 bcs -0xE /* 00000AAE */
00000ABE 2043 movea.l A0, D3
00000AC0 214B 0014 move.l [A0 + 0x14], A3
00000AC4 7001 moveq.l D0, 0x01
label00000AC6:
00000AC6 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00000ACA 4E5E unlink A6
00000ACC 4E75 rts
fn00000ACE:
00000ACE 4E56 0000 link A6, 0
00000AD2 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000AD6 286E 0008 movea.l A4, [A6 + 0x8]
00000ADA 362E 000C move.w D3, [A6 + 0xC]
00000ADE 4AAC 0014 tst.l [A4 + 0x14]
00000AE2 6612 bne +0x14 /* 00000AF6 */
00000AE4 2F0C move.l -[A7], A4
00000AE6 61FF FFFF FDE0 bsr -0x21E /* 000008C8 */
00000AEC 4A80 tst.l D0
00000AEE 584F addq.w A7, 4
00000AF0 6604 bne +0x6 /* 00000AF6 */
00000AF2 91C8 sub.l A0, A0
00000AF4 6046 bra +0x48 /* 00000B3C */
label00000AF6:
00000AF6 246C 0014 movea.l A2, [A4 + 0x14]
00000AFA 296A 0004 0014 move.l [A4 + 0x14], [A2 + 0x4]
00000B00 7000 moveq.l D0, 0x00
00000B02 3003 move.w D0, D3
00000B04 4AB4 0C00 tst.l [A4 + D0 * 4]
00000B08 660A bne +0xC /* 00000B14 */
00000B0A 254A 0008 move.l [A2 + 0x8], A2
00000B0E 254A 0004 move.l [A2 + 0x4], A2
00000B12 601E bra +0x20 /* 00000B32 */
label00000B14:
00000B14 7000 moveq.l D0, 0x00
00000B16 3003 move.w D0, D3
00000B18 2674 0C00 movea.l A3, [A4 + D0 * 4]
00000B1C 254B 0008 move.l [A2 + 0x8], A3
00000B20 256B 0004 0004 move.l [A2 + 0x4], [A3 + 0x4]
00000B26 206B 0004 movea.l A0, [A3 + 0x4]
00000B2A 214A 0008 move.l [A0 + 0x8], A2
00000B2E 274A 0004 move.l [A3 + 0x4], A2
label00000B32:
00000B32 7000 moveq.l D0, 0x00
00000B34 3003 move.w D0, D3
00000B36 298A 0C00 move.l [A4 + D0 * 4], A2
00000B3A 204A movea.l A0, A2
label00000B3C:
00000B3C 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000B40 4E5E unlink A6
00000B42 4E75 rts
fn00000B44:
00000B44 4E56 0000 link A6, 0
00000B48 2F0B move.l -[A7], A3
00000B4A 266E 0008 movea.l A3, [A6 + 0x8]
00000B4E 226E 000C movea.l A1, [A6 + 0xC]
00000B52 322E 0010 move.w D1, [A6 + 0x10]
00000B56 B3E9 0004 cmpa.l A1, [A1 + 0x4]
00000B5A 660A bne +0xC /* 00000B66 */
00000B5C 7000 moveq.l D0, 0x00
00000B5E 3001 move.w D0, D1
00000B60 42B3 0C00 clr.l [A3 + D0 * 4]
00000B64 6028 bra +0x2A /* 00000B8E */
label00000B66:
00000B66 2069 0008 movea.l A0, [A1 + 0x8]
00000B6A 2169 0004 0004 move.l [A0 + 0x4], [A1 + 0x4]
00000B70 2069 0004 movea.l A0, [A1 + 0x4]
00000B74 2169 0008 0008 move.l [A0 + 0x8], [A1 + 0x8]
00000B7A 7000 moveq.l D0, 0x00
00000B7C 3001 move.w D0, D1
00000B7E B3F3 0C00 cmpa.l A1, [A3 + D0 * 4]
00000B82 660A bne +0xC /* 00000B8E */
00000B84 7000 moveq.l D0, 0x00
00000B86 3001 move.w D0, D1
00000B88 27A9 0004 0C00 move.l [A3 + D0 * 4], [A1 + 0x4]
label00000B8E:
00000B8E 236B 0014 0004 move.l [A1 + 0x4], [A3 + 0x14]
00000B94 2749 0014 move.l [A3 + 0x14], A1
00000B98 265F movea.l A3, [A7]+
00000B9A 4E5E unlink A6
00000B9C 4E75 rts
fn00000B9E:
00000B9E 4E56 0000 link A6, 0
00000BA2 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000BA6 266E 0008 movea.l A3, [A6 + 0x8]
00000BAA 382E 000C move.w D4, [A6 + 0xC]
00000BAE 262E 000E move.l D3, [A6 + 0xE]
00000BB2 2E2E 0012 move.l D7, [A6 + 0x12]
00000BB6 2A0B move.l D5, A3
00000BB8 2003 move.l D0, D3
00000BBA 0680 0000 0FFF addi.l D0, 0xFFF
00000BC0 0280 FFFF F000 andi.l D0, 0xFFFFF000
00000BC6 D0AB 002C add.l D0, [A3 + 0x2C]
00000BCA B0AB 0034 cmp.l D0, [A3 + 0x34]
00000BCE 6314 bls +0x16 /* 00000BE4 */
00000BD0 4878 0007 push.l 0x7
00000BD4 2F0B move.l -[A7], A3
00000BD6 61FF FFFF FA2C bsr -0x5D2 /* 00000604 */
00000BDC 91C8 sub.l A0, A0
00000BDE 504F addq.w A7, 8
00000BE0 6000 00DE bra +0xE0 /* 00000CC0 */
label00000BE4:
00000BE4 0C44 0003 cmpi.w D4, 0x3
00000BE8 6616 bne +0x18 /* 00000C00 */
00000BEA 7001 moveq.l D0, 0x01
00000BEC C087 and.l D0, D7
00000BEE 4A80 tst.l D0
00000BF0 6604 bne +0x6 /* 00000BF6 */
00000BF2 7000 moveq.l D0, 0x00
00000BF4 6006 bra +0x8 /* 00000BFC */
label00000BF6:
00000BF6 203C 0000 0100 move.l D0, 0x100
label00000BFC:
00000BFC 2C00 move.l D6, D0
00000BFE 6006 bra +0x8 /* 00000C06 */
label00000C00:
00000C00 2C3C 0000 1000 move.l D6, 0x1000
label00000C06:
00000C06 7000 moveq.l D0, 0x00
00000C08 302B 0022 move.w D0, [A3 + 0x22]
00000C0C 8086 or.l D0, D6
00000C0E 2F00 move.l -[A7], D0
00000C10 2F03 move.l -[A7], D3
00000C12 61FF 0000 1EF8 bsr +0x1EFA /* 00002B0C */
00000C18 2448 movea.l A2, A0
00000C1A 2008 move.l D0, A0
00000C1C 4A80 tst.l D0
00000C1E 504F addq.w A7, 8
00000C20 6606 bne +0x8 /* 00000C28 */
00000C22 91C8 sub.l A0, A0
00000C24 6000 009A bra +0x9C /* 00000CC0 */
label00000C28:
00000C28 3F04 move.w -[A7], D4
00000C2A 2F0B move.l -[A7], A3
00000C2C 61FF FFFF FEA0 bsr -0x15E /* 00000ACE */
00000C32 2848 movea.l A4, A0
00000C34 2608 move.l D3, A0
00000C36 200C move.l D0, A4
00000C38 5C4F addq.w A7, 6
00000C3A 660E bne +0x10 /* 00000C4A */
00000C3C 2F0A move.l -[A7], A2
00000C3E 61FF 0000 1F44 bsr +0x1F46 /* 00002B84 */
00000C44 91C8 sub.l A0, A0
00000C46 584F addq.w A7, 4
00000C48 6076 bra +0x78 /* 00000CC0 */
label00000C4A:
00000C4A 294A 000C move.l [A4 + 0xC], A2
00000C4E 7000 moveq.l D0, 0x00
00000C50 3004 move.w D0, D4
00000C52 0080 0000 CAD0 ori.l D0, 0xCAD0
00000C58 3540 000E move.w [A2 + 0xE], D0
00000C5C 2485 move.l [A2], D5
00000C5E 2543 0004 move.l [A2 + 0x4], D3
00000C62 426A 000C clr.w [A2 + 0xC]
00000C66 2F0A move.l -[A7], A2
00000C68 61FF 0000 2088 bsr +0x208A /* 00002CF2 */
00000C6E 2600 move.l D3, D0
00000C70 7000 moveq.l D0, 0x00
00000C72 3004 move.w D0, D4
00000C74 584F addq.w A7, 4
00000C76 5380 subq.l D0, 1
00000C78 6706 beq +0x8 /* 00000C80 */
00000C7A 5580 subq.l D0, 2
00000C7C 6716 beq +0x18 /* 00000C94 */
00000C7E 6024 bra +0x26 /* 00000CA4 */
label00000C80:
00000C80 3F03 move.w -[A7], D3
00000C82 2F0A move.l -[A7], A2
00000C84 2F05 move.l -[A7], D5
00000C86 61FF 0000 0288 bsr +0x28A /* 00000F10 */
00000C8C 3800 move.w D4, D0
00000C8E 4FEF 000A lea.l A7, [A7 + 0xA]
00000C92 601E bra +0x20 /* 00000CB2 */
label00000C94:
00000C94 2F07 move.l -[A7], D7
00000C96 2F0A move.l -[A7], A2
00000C98 61FF 0000 00A0 bsr +0xA2 /* 00000D3A */
00000C9E 3800 move.w D4, D0
00000CA0 504F addq.w A7, 8
00000CA2 600E bra +0x10 /* 00000CB2 */
label00000CA4:
00000CA4 3F03 move.w -[A7], D3
00000CA6 2F0A move.l -[A7], A2
00000CA8 61FF 0000 0466 bsr +0x468 /* 00001110 */
00000CAE 3800 move.w D4, D0
00000CB0 5C4F addq.w A7, 6
label00000CB2:
00000CB2 3884 move.w [A4], D4
00000CB4 397C 8000 0002 move.w [A4 + 0x2], 0x8000
00000CBA D7AB 002C add.l [A3 + 0x2C], D3
00000CBE 204A movea.l A0, A2
label00000CC0:
00000CC0 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000CC4 4E5E unlink A6
00000CC6 4E75 rts
fn00000CC8:
00000CC8 4E56 0000 link A6, 0
00000CCC 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00000CD0 246E 0008 movea.l A2, [A6 + 0x8]
00000CD4 2652 movea.l A3, [A2]
00000CD6 286A 0004 movea.l A4, [A2 + 0x4]
00000CDA 382A 000E move.w D4, [A2 + 0xE]
00000CDE 7207 moveq.l D1, 0x07
00000CE0 C881 and.l D4, D1
00000CE2 2F0A move.l -[A7], A2
00000CE4 61FF 0000 200C bsr +0x200E /* 00002CF2 */
00000CEA 2600 move.l D3, D0
00000CEC 4AAE 000C tst.l [A6 + 0xC]
00000CF0 584F addq.w A7, 4
00000CF2 6710 beq +0x12 /* 00000D04 */
00000CF4 202B 002C move.l D0, [A3 + 0x2C]
00000CF8 9083 sub.l D0, D3
00000CFA B0AB 0030 cmp.l D0, [A3 + 0x30]
00000CFE 6404 bcc +0x6 /* 00000D04 */
00000D00 7600 moveq.l D3, 0x00
00000D02 6016 bra +0x18 /* 00000D1A */
label00000D04:
00000D04 3F04 move.w -[A7], D4
00000D06 2F0C move.l -[A7], A4
00000D08 2F0B move.l -[A7], A3
00000D0A 61FF FFFF FE38 bsr -0x1C6 /* 00000B44 */
00000D10 97AB 002C sub.l [A3 + 0x2C], D3
00000D14 7601 moveq.l D3, 0x01
00000D16 4FEF 000A lea.l A7, [A7 + 0xA]
label00000D1A:
00000D1A 4A83 tst.l D3
00000D1C 6712 beq +0x14 /* 00000D30 */
00000D1E 426A 000E clr.w [A2 + 0xE]
00000D22 2F0A move.l -[A7], A2
00000D24 61FF 0000 1E5E bsr +0x1E60 /* 00002B84 */
00000D2A 7001 moveq.l D0, 0x01
00000D2C 584F addq.w A7, 4
00000D2E 6002 bra +0x4 /* 00000D32 */
label00000D30:
00000D30 7000 moveq.l D0, 0x00
label00000D32:
00000D32 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000D36 4E5E unlink A6
00000D38 4E75 rts
fn00000D3A:
00000D3A 4E56 0000 link A6, 0
00000D3E 2F0A move.l -[A7], A2
00000D40 246E 0008 movea.l A2, [A6 + 0x8]
00000D44 357C 0001 000C move.w [A2 + 0xC], 0x1
00000D4A 41F9 0000 0DFE lea.l A0, [0x00000DFE]
00000D50 2548 0008 move.l [A2 + 0x8], A0
00000D54 7002 moveq.l D0, 0x02
00000D56 C0AE 000C and.l D0, [A6 + 0xC]
00000D5A 4A80 tst.l D0
00000D5C 6604 bne +0x6 /* 00000D62 */
00000D5E 7000 moveq.l D0, 0x00
00000D60 6002 bra +0x4 /* 00000D64 */
label00000D62:
00000D62 7002 moveq.l D0, 0x02
label00000D64:
00000D64 1540 0015 move.b [A2 + 0x15], D0
00000D68 42AA 0010 clr.l [A2 + 0x10]
00000D6C 701E moveq.l D0, 0x1E
00000D6E 258A 08FC move.l [A2 + D0 - 0x4], A2
00000D72 7000 moveq.l D0, 0x00
00000D74 245F movea.l A2, [A7]+
00000D76 4E5E unlink A6
00000D78 4E75 rts
fn00000D7A:
00000D7A 4E56 0000 link A6, 0
00000D7E 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00000D82 246E 0008 movea.l A2, [A6 + 0x8]
00000D86 2A2E 000C move.l D5, [A6 + 0xC]
00000D8A 262E 0010 move.l D3, [A6 + 0x10]
00000D8E 701E moveq.l D0, 0x1E
00000D90 D680 add.l D3, D0
label00000D92:
00000D92 2F05 move.l -[A7], D5
00000D94 2F03 move.l -[A7], D3
00000D96 3F3C 0003 move.w -[A7], 0x3
00000D9A 2F0A move.l -[A7], A2
00000D9C 61FF FFFF FE00 bsr -0x1FE /* 00000B9E */
00000DA2 2648 movea.l A3, A0
00000DA4 2008 move.l D0, A0
00000DA6 4A80 tst.l D0
00000DA8 4FEF 000E lea.l A7, [A7 + 0xE]
00000DAC 6708 beq +0xA /* 00000DB6 */
00000DAE 204B movea.l A0, A3
00000DB0 41E8 001E lea.l A0, [A0 + 0x1E]
00000DB4 603C bra +0x3E /* 00000DF2 */
label00000DB6:
00000DB6 2F0A move.l -[A7], A2
00000DB8 61FF FFFF F9E2 bsr -0x61C /* 0000079C */
00000DBE 2800 move.l D4, D0
00000DC0 2003 move.l D0, D3
00000DC2 0680 0000 0FFF addi.l D0, 0xFFF
00000DC8 0280 FFFF F000 andi.l D0, 0xFFFFF000
00000DCE D0AA 002C add.l D0, [A2 + 0x2C]
00000DD2 B0AA 0034 cmp.l D0, [A2 + 0x34]
00000DD6 584F addq.w A7, 4
00000DD8 6216 bhi +0x18 /* 00000DF0 */
00000DDA 4A84 tst.l D4
00000DDC 66B4 bne -0x4A /* 00000D92 */
00000DDE 4878 0002 push.l 0x2
00000DE2 2F0A move.l -[A7], A2
00000DE4 61FF FFFF F81E bsr -0x7E0 /* 00000604 */
00000DEA 4A80 tst.l D0
00000DEC 504F addq.w A7, 8
00000DEE 66A2 bne -0x5C /* 00000D92 */
label00000DF0:
00000DF0 91C8 sub.l A0, A0
label00000DF2:
00000DF2 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00000DF6 4E5E unlink A6
00000DF8 4E75 rts
00000DFA 4E56 0000 link A6, 0
00000DFE 42A7 clr.l -[A7]
00000E00 206E 0008 movea.l A0, [A6 + 0x8]
00000E04 2F28 FFFC move.l -[A7], [A0 - 0x4]
00000E08 61FF FFFF FEBE bsr -0x140 /* 00000CC8 */
00000E0E 4E5E unlink A6
00000E10 4E75 rts
fn00000E12:
00000E12 4E56 FFFC link A6, -0x0004
00000E16 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000E1A 266E 0008 movea.l A3, [A6 + 0x8]
00000E1E 2A2E 000C move.l D5, [A6 + 0xC]
00000E22 282E 0010 move.l D4, [A6 + 0x10]
00000E26 262E 0014 move.l D3, [A6 + 0x14]
00000E2A 2853 movea.l A4, [A3]
00000E2C 2F0B move.l -[A7], A3
00000E2E 61FF 0000 1EC2 bsr +0x1EC4 /* 00002CF2 */
00000E34 2C00 move.l D6, D0
00000E36 701E moveq.l D0, 0x1E
00000E38 D880 add.l D4, D0
00000E3A 7004 moveq.l D0, 0x04
00000E3C C083 and.l D0, D3
00000E3E 4A80 tst.l D0
00000E40 584F addq.w A7, 4
00000E42 6604 bne +0x6 /* 00000E48 */
00000E44 7000 moveq.l D0, 0x00
00000E46 6006 bra +0x8 /* 00000E4E */
label00000E48:
00000E48 203C 0000 0400 move.l D0, 0x400
label00000E4E:
00000E4E 2D40 FFFC move.l [A6 - 0x4], D0
00000E52 7001 moveq.l D0, 0x01
00000E54 C083 and.l D0, D3
00000E56 4A80 tst.l D0
00000E58 6604 bne +0x6 /* 00000E5E */
00000E5A 7000 moveq.l D0, 0x00
00000E5C 6006 bra +0x8 /* 00000E64 */
label00000E5E:
00000E5E 203C 0000 0100 move.l D0, 0x100
label00000E64:
00000E64 2053 movea.l A0, [A3]
00000E66 7200 moveq.l D1, 0x00
00000E68 3228 0022 move.w D1, [A0 + 0x22]
00000E6C 8280 or.l D1, D0
00000E6E 82AE FFFC or.l D1, [A6 - 0x4]
00000E72 2601 move.l D3, D1
00000E74 4A85 tst.l D5
00000E76 675A beq +0x5C /* 00000ED2 */
00000E78 2E2B 0004 move.l D7, [A3 + 0x4]
label00000E7C:
00000E7C 2003 move.l D0, D3
00000E7E 0080 0000 2000 ori.l D0, 0x2000 /* ' \0' */
00000E84 2F00 move.l -[A7], D0
00000E86 2F04 move.l -[A7], D4
00000E88 2F0B move.l -[A7], A3
00000E8A 61FF 0000 1D2A bsr +0x1D2C /* 00002BB6 */
00000E90 2448 movea.l A2, A0
00000E92 2008 move.l D0, A0
00000E94 4A80 tst.l D0
00000E96 4FEF 000C lea.l A7, [A7 + 0xC]
00000E9A 6612 bne +0x14 /* 00000EAE */
00000E9C 4878 0002 push.l 0x2
00000EA0 2F0C move.l -[A7], A4
00000EA2 61FF FFFF F760 bsr -0x89E /* 00000604 */
00000EA8 4A80 tst.l D0
00000EAA 504F addq.w A7, 8
00000EAC 66CE bne -0x30 /* 00000E7C */
label00000EAE:
00000EAE 200A move.l D0, A2
00000EB0 6718 beq +0x1A /* 00000ECA */
00000EB2 2047 movea.l A0, D7
00000EB4 214A 000C move.l [A0 + 0xC], A2
00000EB8 701E moveq.l D0, 0x1E
00000EBA 258A 08FC move.l [A2 + D0 - 0x4], A2
00000EBE 204A movea.l A0, A2
00000EC0 41E8 001E lea.l A0, [A0 + 0x1E]
00000EC4 2245 movea.l A1, D5
00000EC6 2288 move.l [A1], A0
00000EC8 602C bra +0x2E /* 00000EF6 */
label00000ECA:
00000ECA 2045 movea.l A0, D5
00000ECC 4290 clr.l [A0]
00000ECE 7000 moveq.l D0, 0x00
00000ED0 6036 bra +0x38 /* 00000F08 */
label00000ED2:
00000ED2 2003 move.l D0, D3
00000ED4 0080 0000 2000 ori.l D0, 0x2000 /* ' \0' */
00000EDA 2F00 move.l -[A7], D0
00000EDC 2F04 move.l -[A7], D4
00000EDE 2F0B move.l -[A7], A3
00000EE0 61FF 0000 1D7A bsr +0x1D7C /* 00002C5C */
00000EE6 4A80 tst.l D0
00000EE8 4FEF 000C lea.l A7, [A7 + 0xC]
00000EEC 6704 beq +0x6 /* 00000EF2 */
00000EEE 244B movea.l A2, A3
00000EF0 6004 bra +0x6 /* 00000EF6 */
label00000EF2:
00000EF2 7000 moveq.l D0, 0x00
00000EF4 6012 bra +0x14 /* 00000F08 */
label00000EF6:
00000EF6 2F0A move.l -[A7], A2
00000EF8 61FF 0000 1DF8 bsr +0x1DFA /* 00002CF2 */
00000EFE 9086 sub.l D0, D6
00000F00 D1AC 002C add.l [A4 + 0x2C], D0
00000F04 7001 moveq.l D0, 0x01
00000F06 584F addq.w A7, 4
label00000F08:
00000F08 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000F0C 4E5E unlink A6
00000F0E 4E75 rts
fn00000F10:
00000F10 4E56 0000 link A6, 0
00000F14 2F0A move.l -[A7], A2
00000F16 246E 000C movea.l A2, [A6 + 0xC]
00000F1A 42AA 0010 clr.l [A2 + 0x10]
00000F1E 204A movea.l A0, A2
00000F20 41E8 001E lea.l A0, [A0 + 0x1E]
00000F24 5988 subq.l A0, 4
00000F26 2548 0014 move.l [A2 + 0x14], A0
00000F2A 41F9 0000 10C8 lea.l A0, [0x000010C8]
00000F30 2548 0008 move.l [A2 + 0x8], A0
00000F34 3F2E 0010 move.w -[A7], [A6 + 0x10]
00000F38 206E 0008 movea.l A0, [A6 + 0x8]
00000F3C 2028 0024 move.l D0, [A0 + 0x24]
00000F40 5880 addq.l D0, 4
00000F42 3F00 move.w -[A7], D0
00000F44 2F0A move.l -[A7], A2
00000F46 61FF 0000 000E bsr +0x10 /* 00000F56 */
00000F4C 7001 moveq.l D0, 0x01
00000F4E 504F addq.w A7, 8
00000F50 245F movea.l A2, [A7]+
00000F52 4E5E unlink A6
00000F54 4E75 rts
fn00000F56:
00000F56 4E56 0000 link A6, 0
00000F5A 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00000F5E 246E 0008 movea.l A2, [A6 + 0x8]
00000F62 362E 000C move.w D3, [A6 + 0xC]
00000F66 382E 000E move.w D4, [A6 + 0xE]
00000F6A 286A 0014 movea.l A4, [A2 + 0x14]
00000F6E 254C 0010 move.l [A2 + 0x10], A4
00000F72 204C movea.l A0, A4
00000F74 91CA sub.l A0, A2
00000F76 2008 move.l D0, A0
00000F78 9840 sub.w D4, D0
00000F7A 7000 moveq.l D0, 0x00
00000F7C 3003 move.w D0, D3
00000F7E 7200 moveq.l D1, 0x00
00000F80 3204 move.w D1, D4
00000F82 4C40 1800 movem.l A3,A4, D0
00000F86 7200 moveq.l D1, 0x00
00000F88 3204 move.w D1, D4
00000F8A 9280 sub.l D1, D0
00000F8C 204C movea.l A0, A4
00000F8E D1C1 add.l A0, D1
00000F90 2548 0014 move.l [A2 + 0x14], A0
00000F94 7000 moveq.l D0, 0x00
00000F96 3003 move.w D0, D3
00000F98 266A 0014 movea.l A3, [A2 + 0x14]
00000F9C 97C0 sub.l A3, D0
00000F9E 244C movea.l A2, A4
00000FA0 6010 bra +0x12 /* 00000FB2 */
label00000FA2:
00000FA2 7000 moveq.l D0, 0x00
00000FA4 3003 move.w D0, D3
00000FA6 204A movea.l A0, A2
00000FA8 D1C0 add.l A0, D0
00000FAA 2488 move.l [A2], A0
00000FAC 7000 moveq.l D0, 0x00
00000FAE 3003 move.w D0, D3
00000FB0 D5C0 add.l A2, D0
label00000FB2:
00000FB2 B5CB cmpa.l A2, A3
00000FB4 65EC bcs -0x12 /* 00000FA2 */
00000FB6 4292 clr.l [A2]
00000FB8 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000FBC 4E5E unlink A6
00000FBE 4E75 rts
fn00000FC0:
00000FC0 4E56 0000 link A6, 0
00000FC4 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00000FC8 246E 0008 movea.l A2, [A6 + 0x8]
00000FCC 266A 0004 movea.l A3, [A2 + 0x4]
00000FD0 284B movea.l A4, A3
00000FD2 0C6A BEAD 0020 cmpi.w [A2 + 0x20], 0xBEAD
00000FD8 6714 beq +0x16 /* 00000FEE */
00000FDA 4878 000A push.l 0xA /* '\n' */
00000FDE 42A7 clr.l -[A7]
00000FE0 61FF FFFF F622 bsr -0x9DC /* 00000604 */
00000FE6 91C8 sub.l A0, A0
00000FE8 504F addq.w A7, 8
00000FEA 6000 00D0 bra +0xD2 /* 000010BC */
label00000FEE:
00000FEE 200B move.l D0, A3
00000FF0 670E beq +0x10 /* 00001000 */
00000FF2 6000 008C bra +0x8E /* 00001080 */
label00000FF6:
00000FF6 266B 0004 movea.l A3, [A3 + 0x4]
00000FFA B7CC cmpa.l A3, A4
00000FFC 6600 0082 bne +0x84 /* 00001080 */
label00001000:
00001000 4AAA 0024 tst.l [A2 + 0x24]
00001004 6614 bne +0x16 /* 0000101A */
00001006 4878 0004 push.l 0x4
0000100A 2F0A move.l -[A7], A2
0000100C 61FF FFFF F5F6 bsr -0xA08 /* 00000604 */
00001012 91C8 sub.l A0, A0
00001014 504F addq.w A7, 8
00001016 6000 00A4 bra +0xA6 /* 000010BC */
label0000101A:
0000101A 362A 0028 move.w D3, [A2 + 0x28]
0000101E 603C bra +0x3E /* 0000105C */
label00001020:
00001020 7000 moveq.l D0, 0x00
00001022 3003 move.w D0, D3
00001024 D0AA 002C add.l D0, [A2 + 0x2C]
00001028 B0AA 0034 cmp.l D0, [A2 + 0x34]
0000102C 6306 bls +0x8 /* 00001034 */
0000102E 91C8 sub.l A0, A0
00001030 6000 008A bra +0x8C /* 000010BC */
label00001034:
00001034 701E moveq.l D0, 0x1E
00001036 D0AA 0024 add.l D0, [A2 + 0x24]
0000103A E24B lsr D3.w, 1
0000103C 7200 moveq.l D1, 0x00
0000103E 3203 move.w D1, D3
00001040 B280 cmp.l D1, D0
00001042 6418 bcc +0x1A /* 0000105C */
00001044 D643 add.w D3, D3
00001046 4878 0002 push.l 0x2
0000104A 2F0A move.l -[A7], A2
0000104C 61FF FFFF F5B6 bsr -0xA48 /* 00000604 */
00001052 4A80 tst.l D0
00001054 504F addq.w A7, 8
00001056 6604 bne +0x6 /* 0000105C */
00001058 91C8 sub.l A0, A0
0000105A 6060 bra +0x62 /* 000010BC */
label0000105C:
0000105C 42A7 clr.l -[A7]
0000105E 7000 moveq.l D0, 0x00
00001060 3003 move.w D0, D3
00001062 2F00 move.l -[A7], D0
00001064 3F3C 0001 move.w -[A7], 0x1
00001068 2F0A move.l -[A7], A2
0000106A 61FF FFFF FB32 bsr -0x4CC /* 00000B9E */
00001070 2008 move.l D0, A0
00001072 4FEF 000E lea.l A7, [A7 + 0xE]
00001076 67A8 beq -0x56 /* 00001020 */
00001078 266A 0004 movea.l A3, [A2 + 0x4]
0000107C 286B 0004 movea.l A4, [A3 + 0x4]
label00001080:
00001080 4A53 tst.w [A3]
00001082 6700 FF72 beq -0x8C /* 00000FF6 */
00001086 262B 000C move.l D3, [A3 + 0xC]
0000108A 2043 movea.l A0, D3
0000108C 2828 0010 move.l D4, [A0 + 0x10]
00001090 4A84 tst.l D4
00001092 6714 beq +0x16 /* 000010A8 */
00001094 2044 movea.l A0, D4
00001096 2243 movea.l A1, D3
00001098 2350 0010 move.l [A1 + 0x10], [A0]
0000109C 2043 movea.l A0, D3
0000109E 5268 000C addq.w [A0 + 0xC], 1
000010A2 2044 movea.l A0, D4
000010A4 2083 move.l [A0], D3
000010A6 2A04 move.l D5, D4
label000010A8:
000010A8 4A84 tst.l D4
000010AA 670A beq +0xC /* 000010B6 */
000010AC 254B 0004 move.l [A2 + 0x4], A3
000010B0 2045 movea.l A0, D5
000010B2 5888 addq.l A0, 4
000010B4 6006 bra +0x8 /* 000010BC */
label000010B6:
000010B6 4253 clr.w [A3]
000010B8 6000 FF3C bra -0xC2 /* 00000FF6 */
label000010BC:
000010BC 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000010C0 4E5E unlink A6
000010C2 4E75 rts
000010C4 4E56 0000 link A6, 0
000010C8 48E7 0030 movem.l -[A7], A2,A3
000010CC 266E 0008 movea.l A3, [A6 + 0x8]
000010D0 246B FFFC movea.l A2, [A3 - 0x4]
000010D4 276A 0010 FFFC move.l [A3 - 0x4], [A2 + 0x10]
000010DA 4AAA 0010 tst.l [A2 + 0x10]
000010DE 6608 bne +0xA /* 000010E8 */
000010E0 206A 0004 movea.l A0, [A2 + 0x4]
000010E4 30BC 0001 move.w [A0], 0x1
label000010E8:
000010E8 204B movea.l A0, A3
000010EA 5988 subq.l A0, 4
000010EC 2548 0010 move.l [A2 + 0x10], A0
000010F0 536A 000C subq.w [A2 + 0xC], 1
000010F4 4A6A 000C tst.w [A2 + 0xC]
000010F8 660E bne +0x10 /* 00001108 */
000010FA 4878 0001 push.l 0x1
000010FE 2F0A move.l -[A7], A2
00001100 61FF FFFF FBC6 bsr -0x438 /* 00000CC8 */
00001106 504F addq.w A7, 8
label00001108:
00001108 4CDF 0C00 movem.l A2,A3, [A7]+
0000110C 4E5E unlink A6
0000110E 4E75 rts
fn00001110:
00001110 4E56 0000 link A6, 0
00001114 48E7 0038 movem.l -[A7], A2,A3,A4
00001118 246E 0008 movea.l A2, [A6 + 0x8]
0000111C 264A movea.l A3, A2
0000111E 47EB 0020 lea.l A3, [A3 + 0x20]
00001122 5D8B subq.l A3, 6
00001124 284B movea.l A4, A3
00001126 99CA sub.l A4, A2
00001128 200C move.l D0, A4
0000112A 7200 moveq.l D1, 0x00
0000112C 3200 move.w D1, D0
0000112E 7000 moveq.l D0, 0x00
00001130 302E 000C move.w D0, [A6 + 0xC]
00001134 9081 sub.l D0, D1
00001136 720A moveq.l D1, 0x0A
00001138 9081 sub.l D0, D1
0000113A 0280 0000 FFFC andi.l D0, 0xFFFC
00001140 284B movea.l A4, A3
00001142 D9C0 add.l A4, D0
00001144 38BC 0001 move.w [A4], 0x1
00001148 254B 0010 move.l [A2 + 0x10], A3
0000114C 294C 0006 move.l [A4 + 0x6], A4
00001150 294C 0002 move.l [A4 + 0x2], A4
00001154 254C 0014 move.l [A2 + 0x14], A4
00001158 302A 000E move.w D0, [A2 + 0xE]
0000115C 7207 moveq.l D1, 0x07
0000115E C081 and.l D0, D1
00001160 5540 subq.w D0, 2
00001162 671C beq +0x1E /* 00001180 */
00001164 2052 movea.l A0, [A2]
00001166 2028 0024 move.l D0, [A0 + 0x24]
0000116A 5E80 addq.l D0, 7
0000116C 720C moveq.l D1, 0x0C
0000116E B081 cmp.l D0, D1
00001170 6204 bhi +0x6 /* 00001176 */
00001172 700C moveq.l D0, 0x0C
00001174 6008 bra +0xA /* 0000117E */
label00001176:
00001176 2052 movea.l A0, [A2]
00001178 2028 0024 move.l D0, [A0 + 0x24]
0000117C 5E80 addq.l D0, 7
label0000117E:
0000117E 6002 bra +0x4 /* 00001182 */
label00001180:
00001180 700C moveq.l D0, 0x0C
label00001182:
00001182 3540 0018 move.w [A2 + 0x18], D0
00001186 7002 moveq.l D0, 0x02
00001188 204C movea.l A0, A4
0000118A 91CB sub.l A0, A3
0000118C 2208 move.l D1, A0
0000118E 3941 FFFE move.w [A4 - 0x2], D1
00001192 7400 moveq.l D2, 0x00
00001194 3401 move.w D2, D1
00001196 8480 or.l D2, D0
00001198 3682 move.w [A3], D2
0000119A 2F0C move.l -[A7], A4
0000119C 2F0B move.l -[A7], A3
0000119E 61FF FFFF F5D2 bsr -0xA2C /* 00000772 */
000011A4 41F9 0000 1572 lea.l A0, [0x00001572]
000011AA 2548 0008 move.l [A2 + 0x8], A0
000011AE 3013 move.w D0, [A3]
000011B0 0280 0000 FFFC andi.l D0, 0xFFFC
000011B6 504F addq.w A7, 8
000011B8 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000011BC 4E5E unlink A6
000011BE 4E75 rts
000011C0 4E56 0000 link A6, 0
000011C4 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000011C8 246E 0008 movea.l A2, [A6 + 0x8]
000011CC 262E 000C move.l D3, [A6 + 0xC]
000011D0 282E 0010 move.l D4, [A6 + 0x10]
000011D4 0C6A BEAD 0020 cmpi.w [A2 + 0x20], 0xBEAD
000011DA 6712 beq +0x14 /* 000011EE */
000011DC 4878 000A push.l 0xA /* '\n' */
000011E0 42A7 clr.l -[A7]
000011E2 61FF FFFF F420 bsr -0xBDE /* 00000604 */
000011E8 91C8 sub.l A0, A0
000011EA 504F addq.w A7, 8
000011EC 6074 bra +0x76 /* 00001262 */
label000011EE:
000011EE B6AA 0024 cmp.l D3, [A2 + 0x24]
000011F2 6234 bhi +0x36 /* 00001228 */
000011F4 4A83 tst.l D3
000011F6 6602 bne +0x4 /* 000011FA */
000011F8 7601 moveq.l D3, 0x01
label000011FA:
000011FA 4A83 tst.l D3
000011FC 6762 beq +0x64 /* 00001260 */
000011FE 2F0A move.l -[A7], A2
00001200 61FF FFFF FDBE bsr -0x240 /* 00000FC0 */
00001206 2648 movea.l A3, A0
00001208 200B move.l D0, A3
0000120A 584F addq.w A7, 4
0000120C 6752 beq +0x54 /* 00001260 */
0000120E 7001 moveq.l D0, 0x01
00001210 C084 and.l D0, D4
00001212 674C beq +0x4E /* 00001260 */
00001214 2F2A 0024 move.l -[A7], [A2 + 0x24]
00001218 42A7 clr.l -[A7]
0000121A 2F0B move.l -[A7], A3
0000121C 61FF 0000 2DF6 bsr +0x2DF8 /* 00004014 */
00001222 4FEF 000C lea.l A7, [A7 + 0xC]
00001226 6038 bra +0x3A /* 00001260 */
label00001228:
00001228 7000 moveq.l D0, 0x00
0000122A 302A 002A move.w D0, [A2 + 0x2A]
0000122E B680 cmp.l D3, D0
00001230 6218 bhi +0x1A /* 0000124A */
00001232 3F03 move.w -[A7], D3
00001234 70FD moveq.l D0, 0xFFFFFFFD
00001236 C084 and.l D0, D4
00001238 2F00 move.l -[A7], D0
0000123A 2F0A move.l -[A7], A2
0000123C 61FF 0000 002C bsr +0x2E /* 0000126A */
00001242 2648 movea.l A3, A0
00001244 4FEF 000A lea.l A7, [A7 + 0xA]
00001248 6016 bra +0x18 /* 00001260 */
label0000124A:
0000124A 2F03 move.l -[A7], D3
0000124C 70FD moveq.l D0, 0xFFFFFFFD
0000124E C084 and.l D0, D4
00001250 2F00 move.l -[A7], D0
00001252 2F0A move.l -[A7], A2
00001254 61FF FFFF FB24 bsr -0x4DA /* 00000D7A */
0000125A 2648 movea.l A3, A0
0000125C 4FEF 000C lea.l A7, [A7 + 0xC]
label00001260:
00001260 204B movea.l A0, A3
label00001262:
00001262 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00001266 4E5E unlink A6
00001268 4E75 rts
fn0000126A:
0000126A 4E56 0000 link A6, 0
0000126E 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001272 266E 0008 movea.l A3, [A6 + 0x8]
00001276 282E 000C move.l D4, [A6 + 0xC]
0000127A 362E 0010 move.w D3, [A6 + 0x10]
0000127E 7A02 moveq.l D5, 0x02
00001280 CA84 and.l D5, D4
00001282 7000 moveq.l D0, 0x00
00001284 3003 move.w D0, D3
00001286 5C80 addq.l D0, 6
00001288 7200 moveq.l D1, 0x00
0000128A 3200 move.w D1, D0
0000128C 5681 addq.l D1, 3
0000128E 0281 0000 FFFC andi.l D1, 0xFFFC
00001294 3601 move.w D3, D1
00001296 0C43 000C cmpi.w D3, 0xC
0000129A 6204 bhi +0x6 /* 000012A0 */
0000129C 700C moveq.l D0, 0x0C
0000129E 6002 bra +0x4 /* 000012A2 */
label000012A0:
000012A0 3003 move.w D0, D3
label000012A2:
000012A2 3600 move.w D3, D0
000012A4 7000 moveq.l D0, 0x00
000012A6 3005 move.w D0, D5
000012A8 2473 0C00 movea.l A2, [A3 + D0 * 4]
000012AC 200A move.l D0, A2
000012AE 4A80 tst.l D0
000012B0 6710 beq +0x12 /* 000012C2 */
000012B2 284A movea.l A4, A2
000012B4 6000 00A0 bra +0xA2 /* 00001356 */
label000012B8:
000012B8 246A 0004 movea.l A2, [A2 + 0x4]
000012BC B5CC cmpa.l A2, A4
000012BE 6600 0096 bne +0x98 /* 00001356 */
label000012C2:
000012C2 7002 moveq.l D0, 0x02
000012C4 C084 and.l D0, D4
000012C6 6722 beq +0x24 /* 000012EA */
000012C8 7040 moveq.l D0, 0x40
000012CA C084 and.l D0, D4
000012CC 661C bne +0x1E /* 000012EA */
000012CE 4AAB 0040 tst.l [A3 + 0x40]
000012D2 6716 beq +0x18 /* 000012EA */
000012D4 3F03 move.w -[A7], D3
000012D6 2F0B move.l -[A7], A3
000012D8 206B 0040 movea.l A0, [A3 + 0x40]
000012DC 4E90 jsr [A0]
000012DE B043 cmp.w D0, D3
000012E0 5C4F addq.w A7, 6
000012E2 6506 bcs +0x8 /* 000012EA */
000012E4 7040 moveq.l D0, 0x40
000012E6 8880 or.l D4, D0
000012E8 6060 bra +0x62 /* 0000134A */
label000012EA:
000012EA 7010 moveq.l D0, 0x10
000012EC C084 and.l D0, D4
000012EE 661C bne +0x1E /* 0000130C */
000012F0 42A7 clr.l -[A7]
000012F2 7000 moveq.l D0, 0x00
000012F4 302B 0028 move.w D0, [A3 + 0x28]
000012F8 2F00 move.l -[A7], D0
000012FA 3F05 move.w -[A7], D5
000012FC 2F0B move.l -[A7], A3
000012FE 61FF FFFF F89E bsr -0x760 /* 00000B9E */
00001304 2008 move.l D0, A0
00001306 4FEF 000E lea.l A7, [A7 + 0xE]
0000130A 663E bne +0x40 /* 0000134A */
label0000130C:
0000130C 7020 moveq.l D0, 0x20
0000130E C084 and.l D0, D4
00001310 6634 bne +0x36 /* 00001346 */
00001312 7000 moveq.l D0, 0x00
00001314 3003 move.w D0, D3
00001316 0680 0000 0FFF addi.l D0, 0xFFF
0000131C 0280 0000 F000 andi.l D0, 0xF000
00001322 7200 moveq.l D1, 0x00
00001324 3200 move.w D1, D0
00001326 D2AB 002C add.l D1, [A3 + 0x2C]
0000132A B2AB 0034 cmp.l D1, [A3 + 0x34]
0000132E 6216 bhi +0x18 /* 00001346 */
00001330 7000 moveq.l D0, 0x00
00001332 3003 move.w D0, D3
00001334 2F00 move.l -[A7], D0
00001336 2F04 move.l -[A7], D4
00001338 2F0B move.l -[A7], A3
0000133A 61FF FFFF FA3E bsr -0x5C0 /* 00000D7A */
00001340 4FEF 000C lea.l A7, [A7 + 0xC]
00001344 603C bra +0x3E /* 00001382 */
label00001346:
00001346 91C8 sub.l A0, A0
00001348 6038 bra +0x3A /* 00001382 */
label0000134A:
0000134A 7000 moveq.l D0, 0x00
0000134C 3005 move.w D0, D5
0000134E 2473 0C00 movea.l A2, [A3 + D0 * 4]
00001352 286A 0004 movea.l A4, [A2 + 0x4]
label00001356:
00001356 B652 cmp.w D3, [A2]
00001358 6200 FF5E bhi -0xA0 /* 000012B8 */
0000135C 2E2A 000C move.l D7, [A2 + 0xC]
00001360 2F04 move.l -[A7], D4
00001362 3F03 move.w -[A7], D3
00001364 2F07 move.l -[A7], D7
00001366 61FF 0000 0022 bsr +0x24 /* 0000138A */
0000136C 2C08 move.l D6, A0
0000136E 4A86 tst.l D6
00001370 4FEF 000A lea.l A7, [A7 + 0xA]
00001374 6700 FF42 beq -0xBC /* 000012B8 */
00001378 7000 moveq.l D0, 0x00
0000137A 3005 move.w D0, D5
0000137C 278A 0C00 move.l [A3 + D0 * 4], A2
00001380 2046 movea.l A0, D6
label00001382:
00001382 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001386 4E5E unlink A6
00001388 4E75 rts
fn0000138A:
0000138A 4E56 0000 link A6, 0
0000138E 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
00001392 266E 0008 movea.l A3, [A6 + 0x8]
00001396 382E 000C move.w D4, [A6 + 0xC]
0000139A 2C2E 000E move.l D6, [A6 + 0xE]
0000139E 246B 0010 movea.l A2, [A3 + 0x10]
000013A2 284A movea.l A4, A2
000013A4 7600 moveq.l D3, 0x00
000013A6 6058 bra +0x5A /* 00001400 */
label000013A8:
000013A8 BA43 cmp.w D5, D3
000013AA 6302 bls +0x4 /* 000013AE */
000013AC 3605 move.w D3, D5
label000013AE:
000013AE 246A 0002 movea.l A2, [A2 + 0x2]
000013B2 B5CC cmpa.l A2, A4
000013B4 664A bne +0x4C /* 00001400 */
000013B6 7002 moveq.l D0, 0x02
000013B8 C086 and.l D0, D6
000013BA 6730 beq +0x32 /* 000013EC */
000013BC 7040 moveq.l D0, 0x40
000013BE C086 and.l D0, D6
000013C0 662A bne +0x2C /* 000013EC */
000013C2 2053 movea.l A0, [A3]
000013C4 4AA8 0044 tst.l [A0 + 0x44]
000013C8 6722 beq +0x24 /* 000013EC */
000013CA 42A7 clr.l -[A7]
000013CC 3F04 move.w -[A7], D4
000013CE 2F0B move.l -[A7], A3
000013D0 2053 movea.l A0, [A3]
000013D2 2068 0044 movea.l A0, [A0 + 0x44]
000013D6 4E90 jsr [A0]
000013D8 3600 move.w D3, D0
000013DA B044 cmp.w D0, D4
000013DC 4FEF 000A lea.l A7, [A7 + 0xA]
000013E0 650A bcs +0xC /* 000013EC */
000013E2 246B 0010 movea.l A2, [A3 + 0x10]
000013E6 200A move.l D0, A2
000013E8 4A80 tst.l D0
000013EA 6614 bne +0x16 /* 00001400 */
label000013EC:
000013EC 70FC moveq.l D0, 0xFFFFFFFC
000013EE 7200 moveq.l D1, 0x00
000013F0 3203 move.w D1, D3
000013F2 C280 and.l D1, D0
000013F4 206B 0004 movea.l A0, [A3 + 0x4]
000013F8 3081 move.w [A0], D1
000013FA 91C8 sub.l A0, A0
000013FC 6000 011E bra +0x120 /* 0000151C */
label00001400:
00001400 3A12 move.w D5, [A2]
00001402 BA44 cmp.w D5, D4
00001404 65A2 bcs -0x5C /* 000013A8 */
00001406 0245 FFFC andi.w D5, 0xFFFC
0000140A 9A44 sub.w D5, D4
0000140C BA6B 0018 cmp.w D5, [A3 + 0x18]
00001410 642C bcc +0x2E /* 0000143E */
00001412 284A movea.l A4, A2
00001414 246A 0002 movea.l A2, [A2 + 0x2]
00001418 2F0C move.l -[A7], A4
0000141A 61FF FFFF F336 bsr -0xCC8 /* 00000752 */
00001420 0054 0001 ori.w [A4], 0x1
00001424 3814 move.w D4, [A4]
00001426 0284 0000 FFFC andi.l D4, 0xFFFC
0000142C 7000 moveq.l D0, 0x00
0000142E 3004 move.w D0, D4
00001430 41F4 0800 lea.l A0, [A4 + D0]
00001434 0050 0002 ori.w [A0], 0x2
00001438 584F addq.w A7, 4
0000143A 6000 0082 bra +0x84 /* 000014BE */
label0000143E:
0000143E 7006 moveq.l D0, 0x06
00001440 C086 and.l D0, D6
00001442 674A beq +0x4C /* 0000148E */
00001444 284A movea.l A4, A2
00001446 3014 move.w D0, [A4]
00001448 7202 moveq.l D1, 0x02
0000144A C081 and.l D0, D1
0000144C 7201 moveq.l D1, 0x01
0000144E 7400 moveq.l D2, 0x00
00001450 3404 move.w D2, D4
00001452 8481 or.l D2, D1
00001454 8480 or.l D2, D0
00001456 3882 move.w [A4], D2
00001458 2F0C move.l -[A7], A4
0000145A 61FF FFFF F2F6 bsr -0xD08 /* 00000752 */
00001460 7000 moveq.l D0, 0x00
00001462 3004 move.w D0, D4
00001464 204A movea.l A0, A2
00001466 D1C0 add.l A0, D0
00001468 2448 movea.l A2, A0
0000146A 7002 moveq.l D0, 0x02
0000146C 7200 moveq.l D1, 0x00
0000146E 3205 move.w D1, D5
00001470 3585 18FE move.w [A2 + D1 - 0x2], D5
00001474 7200 moveq.l D1, 0x00
00001476 3205 move.w D1, D5
00001478 8280 or.l D1, D0
0000147A 3481 move.w [A2], D1
0000147C 2F2B 0014 move.l -[A7], [A3 + 0x14]
00001480 2F0A move.l -[A7], A2
00001482 61FF FFFF F2EE bsr -0xD10 /* 00000772 */
00001488 4FEF 000C lea.l A7, [A7 + 0xC]
0000148C 6030 bra +0x32 /* 000014BE */
label0000148E:
0000148E 7000 moveq.l D0, 0x00
00001490 3005 move.w D0, D5
00001492 284A movea.l A4, A2
00001494 D9C0 add.l A4, D0
00001496 7002 moveq.l D0, 0x02
00001498 3945 FFFE move.w [A4 - 0x2], D5
0000149C 7200 moveq.l D1, 0x00
0000149E 3205 move.w D1, D5
000014A0 8280 or.l D1, D0
000014A2 3481 move.w [A2], D1
000014A4 246A 0002 movea.l A2, [A2 + 0x2]
000014A8 7000 moveq.l D0, 0x00
000014AA 3004 move.w D0, D4
000014AC 41F4 0800 lea.l A0, [A4 + D0]
000014B0 0050 0002 ori.w [A0], 0x2
000014B4 7001 moveq.l D0, 0x01
000014B6 7200 moveq.l D1, 0x00
000014B8 3204 move.w D1, D4
000014BA 8280 or.l D1, D0
000014BC 3881 move.w [A4], D1
label000014BE:
000014BE 274A 0010 move.l [A3 + 0x10], A2
000014C2 294B 0002 move.l [A4 + 0x2], A3
000014C6 7001 moveq.l D0, 0x01
000014C8 C086 and.l D0, D6
000014CA 6718 beq +0x1A /* 000014E4 */
000014CC 7000 moveq.l D0, 0x00
000014CE 3004 move.w D0, D4
000014D0 5D80 subq.l D0, 6
000014D2 2F00 move.l -[A7], D0
000014D4 42A7 clr.l -[A7]
000014D6 486C 0006 pea.l [A4 + 0x6]
000014DA 61FF 0000 2B38 bsr +0x2B3A /* 00004014 */
000014E0 4FEF 000C lea.l A7, [A7 + 0xC]
label000014E4:
000014E4 7002 moveq.l D0, 0x02
000014E6 C086 and.l D0, D6
000014E8 672A beq +0x2C /* 00001514 */
000014EA 206A 0002 movea.l A0, [A2 + 0x2]
000014EE B1EA 0006 cmpa.l A0, [A2 + 0x6]
000014F2 6620 bne +0x22 /* 00001514 */
000014F4 206B 0014 movea.l A0, [A3 + 0x14]
000014F8 2068 0002 movea.l A0, [A0 + 0x2]
000014FC 3010 move.w D0, [A0]
000014FE 0280 0000 FFFC andi.l D0, 0xFFFC
00001504 206B 0004 movea.l A0, [A3 + 0x4]
00001508 3080 move.w [A0], D0
0000150A 206B 0004 movea.l A0, [A3 + 0x4]
0000150E 0068 8000 0002 ori.w [A0 + 0x2], 0x8000
label00001514:
00001514 526B 000C addq.w [A3 + 0xC], 1
00001518 204C movea.l A0, A4
0000151A 5C88 addq.l A0, 6
label0000151C:
0000151C 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00001520 4E5E unlink A6
00001522 4E75 rts
fn00001524:
00001524 4E56 0000 link A6, 0
00001528 2F0A move.l -[A7], A2
0000152A 246E 0008 movea.l A2, [A6 + 0x8]
0000152E 206A FFFC movea.l A0, [A2 - 0x4]
00001532 7000 moveq.l D0, 0x00
00001534 3028 000E move.w D0, [A0 + 0xE]
00001538 0280 0000 FFF8 andi.l D0, 0xFFF8
0000153E 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
00001544 6712 beq +0x14 /* 00001558 */
00001546 4878 000E push.l 0xE
0000154A 42A7 clr.l -[A7]
0000154C 61FF FFFF F0B6 bsr -0xF48 /* 00000604 */
00001552 7000 moveq.l D0, 0x00
00001554 504F addq.w A7, 8
00001556 6010 bra +0x12 /* 00001568 */
label00001558:
00001558 2F0A move.l -[A7], A2
0000155A 206A FFFC movea.l A0, [A2 - 0x4]
0000155E 2068 0008 movea.l A0, [A0 + 0x8]
00001562 4E90 jsr [A0]
00001564 7001 moveq.l D0, 0x01
00001566 584F addq.w A7, 4
label00001568:
00001568 245F movea.l A2, [A7]+
0000156A 4E5E unlink A6
0000156C 4E75 rts
0000156E 4E56 0000 link A6, 0
00001572 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00001576 246E 0008 movea.l A2, [A6 + 0x8]
0000157A 5D8A subq.l A2, 6
0000157C 7601 moveq.l D3, 0x01
0000157E 286A 0002 movea.l A4, [A2 + 0x2]
00001582 3012 move.w D0, [A2]
00001584 7202 moveq.l D1, 0x02
00001586 C081 and.l D0, D1
00001588 661C bne +0x1E /* 000015A6 */
0000158A 264A movea.l A3, A2
0000158C 7000 moveq.l D0, 0x00
0000158E 302A FFFE move.w D0, [A2 - 0x2]
00001592 204A movea.l A0, A2
00001594 91C0 sub.l A0, D0
00001596 2448 movea.l A2, A0
00001598 3013 move.w D0, [A3]
0000159A 0280 0000 FFFC andi.l D0, 0xFFFC
000015A0 D152 add.w [A2], D0
000015A2 7600 moveq.l D3, 0x00
000015A4 6004 bra +0x6 /* 000015AA */
label000015A6:
000015A6 0252 FFFE andi.w [A2], 0xFFFE
label000015AA:
000015AA 3012 move.w D0, [A2]
000015AC 0280 0000 FFFC andi.l D0, 0xFFFC
000015B2 264A movea.l A3, A2
000015B4 D7C0 add.l A3, D0
000015B6 3013 move.w D0, [A3]
000015B8 7201 moveq.l D1, 0x01
000015BA C081 and.l D0, D1
000015BC 662A bne +0x2C /* 000015E8 */
000015BE 3013 move.w D0, [A3]
000015C0 0280 0000 FFFC andi.l D0, 0xFFFC
000015C6 D152 add.w [A2], D0
000015C8 B7EC 0010 cmpa.l A3, [A4 + 0x10]
000015CC 6604 bne +0x6 /* 000015D2 */
000015CE 294A 0010 move.l [A4 + 0x10], A2
label000015D2:
000015D2 2F0B move.l -[A7], A3
000015D4 61FF FFFF F17C bsr -0xE82 /* 00000752 */
000015DA 3012 move.w D0, [A2]
000015DC 0280 0000 FFFC andi.l D0, 0xFFFC
000015E2 264A movea.l A3, A2
000015E4 D7C0 add.l A3, D0
000015E6 584F addq.w A7, 4
label000015E8:
000015E8 206C 0004 movea.l A0, [A4 + 0x4]
000015EC 3012 move.w D0, [A2]
000015EE 0280 0000 FFFC andi.l D0, 0xFFFC
000015F4 3740 FFFE move.w [A3 - 0x2], D0
000015F8 B050 cmp.w D0, [A0]
000015FA 630E bls +0x10 /* 0000160A */
000015FC 3012 move.w D0, [A2]
000015FE 0280 0000 FFFC andi.l D0, 0xFFFC
00001604 206C 0004 movea.l A0, [A4 + 0x4]
00001608 3080 move.w [A0], D0
label0000160A:
0000160A 0253 FFFD andi.w [A3], 0xFFFD
0000160E 4A83 tst.l D3
00001610 6726 beq +0x28 /* 00001638 */
00001612 206C 0014 movea.l A0, [A4 + 0x14]
00001616 2068 0002 movea.l A0, [A0 + 0x2]
0000161A B1EC 0014 cmpa.l A0, [A4 + 0x14]
0000161E 670A beq +0xC /* 0000162A */
00001620 206C 0004 movea.l A0, [A4 + 0x4]
00001624 0268 7FFF 0002 andi.w [A0 + 0x2], 0x7FFF
label0000162A:
0000162A 2F2C 0014 move.l -[A7], [A4 + 0x14]
0000162E 2F0A move.l -[A7], A2
00001630 61FF FFFF F140 bsr -0xEBE /* 00000772 */
00001636 504F addq.w A7, 8
label00001638:
00001638 536C 000C subq.w [A4 + 0xC], 1
0000163C 4A6C 000C tst.w [A4 + 0xC]
00001640 660E bne +0x10 /* 00001650 */
00001642 4878 0001 push.l 0x1
00001646 2F0C move.l -[A7], A4
00001648 61FF FFFF F67E bsr -0x980 /* 00000CC8 */
0000164E 504F addq.w A7, 8
label00001650:
00001650 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00001654 4E5E unlink A6
00001656 4E75 rts
fn00001658:
00001658 4E56 FFFC link A6, -0x0004
0000165C 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00001660 266E 0008 movea.l A3, [A6 + 0x8]
00001664 286E 000C movea.l A4, [A6 + 0xC]
00001668 262E 0010 move.l D3, [A6 + 0x10]
0000166C 2A2E 0014 move.l D5, [A6 + 0x14]
00001670 246C FFFC movea.l A2, [A4 - 0x4]
00001674 4A83 tst.l D3
00001676 6602 bne +0x4 /* 0000167A */
00001678 7601 moveq.l D3, 0x01
label0000167A:
0000167A 302A 000E move.w D0, [A2 + 0xE]
0000167E 7207 moveq.l D1, 0x07
00001680 C081 and.l D0, D1
00001682 7200 moveq.l D1, 0x00
00001684 3200 move.w D1, D0
00001686 6714 beq +0x16 /* 0000169C */
00001688 5381 subq.l D1, 1
0000168A 6700 00BA beq +0xBC /* 00001746 */
0000168E 5381 subq.l D1, 1
00001690 670A beq +0xC /* 0000169C */
00001692 5381 subq.l D1, 1
00001694 6700 00C0 beq +0xC2 /* 00001756 */
00001698 6000 0102 bra +0x104 /* 0000179C */
label0000169C:
0000169C 264C movea.l A3, A4
0000169E 5D8B subq.l A3, 6
000016A0 3813 move.w D4, [A3]
000016A2 0284 0000 7FFC andi.l D4, 0x7FFC
000016A8 5D84 subq.l D4, 6
000016AA 3013 move.w D0, [A3]
000016AC 0280 0000 8000 andi.l D0, 0x8000
000016B2 6702 beq +0x4 /* 000016B6 */
000016B4 5D44 subq.w D4, 6
label000016B6:
000016B6 7000 moveq.l D0, 0x00
000016B8 3004 move.w D0, D4
000016BA B680 cmp.l D3, D0
000016BC 630C bls +0xE /* 000016CA */
000016BE 2052 movea.l A0, [A2]
000016C0 7000 moveq.l D0, 0x00
000016C2 3028 002A move.w D0, [A0 + 0x2A]
000016C6 B680 cmp.l D3, D0
000016C8 6278 bhi +0x7A /* 00001742 */
label000016CA:
000016CA 3F03 move.w -[A7], D3
000016CC 2F0B move.l -[A7], A3
000016CE 61FF 0000 00EA bsr +0xEC /* 000017BA */
000016D4 4A80 tst.l D0
000016D6 5C4F addq.w A7, 6
000016D8 6606 bne +0x8 /* 000016E0 */
000016DA 3004 move.w D0, D4
000016DC 6000 00D4 bra +0xD6 /* 000017B2 */
label000016E0:
000016E0 7001 moveq.l D0, 0x01
000016E2 C085 and.l D0, D5
000016E4 6700 00CA beq +0xCC /* 000017B0 */
000016E8 3A13 move.w D5, [A3]
000016EA 0285 0000 7FFC andi.l D5, 0x7FFC
000016F0 5D85 subq.l D5, 6
000016F2 B644 cmp.w D3, D4
000016F4 6324 bls +0x26 /* 0000171A */
000016F6 7000 moveq.l D0, 0x00
000016F8 3004 move.w D0, D4
000016FA 7200 moveq.l D1, 0x00
000016FC 3205 move.w D1, D5
000016FE 9280 sub.l D1, D0
00001700 2F01 move.l -[A7], D1
00001702 42A7 clr.l -[A7]
00001704 7000 moveq.l D0, 0x00
00001706 3004 move.w D0, D4
00001708 4874 0800 pea.l [A4 + D0]
0000170C 61FF 0000 2906 bsr +0x2908 /* 00004014 */
00001712 4FEF 000C lea.l A7, [A7 + 0xC]
00001716 6000 0098 bra +0x9A /* 000017B0 */
label0000171A:
0000171A B645 cmp.w D3, D5
0000171C 6400 0092 bcc +0x94 /* 000017B0 */
00001720 7000 moveq.l D0, 0x00
00001722 3003 move.w D0, D3
00001724 7200 moveq.l D1, 0x00
00001726 3205 move.w D1, D5
00001728 9280 sub.l D1, D0
0000172A 2F01 move.l -[A7], D1
0000172C 42A7 clr.l -[A7]
0000172E 7000 moveq.l D0, 0x00
00001730 3003 move.w D0, D3
00001732 4874 0800 pea.l [A4 + D0]
00001736 61FF 0000 28DC bsr +0x28DE /* 00004014 */
0000173C 4FEF 000C lea.l A7, [A7 + 0xC]
00001740 606E bra +0x70 /* 000017B0 */
label00001742:
00001742 3004 move.w D0, D4
00001744 606C bra +0x6E /* 000017B2 */
label00001746:
00001746 2052 movea.l A0, [A2]
00001748 B6A8 0024 cmp.l D3, [A0 + 0x24]
0000174C 6362 bls +0x64 /* 000017B0 */
0000174E 2052 movea.l A0, [A2]
00001750 3028 0026 move.w D0, [A0 + 0x26]
00001754 605C bra +0x5E /* 000017B2 */
label00001756:
00001756 200B move.l D0, A3
00001758 670C beq +0xE /* 00001766 */
0000175A 2052 movea.l A0, [A2]
0000175C 7000 moveq.l D0, 0x00
0000175E 3028 002A move.w D0, [A0 + 0x2A]
00001762 B680 cmp.l D3, D0
00001764 631E bls +0x20 /* 00001784 */
label00001766:
00001766 2F05 move.l -[A7], D5
00001768 2F03 move.l -[A7], D3
0000176A 2F0B move.l -[A7], A3
0000176C 2F0A move.l -[A7], A2
0000176E 61FF FFFF F6A2 bsr -0x95C /* 00000E12 */
00001774 4A80 tst.l D0
00001776 4FEF 0010 lea.l A7, [A7 + 0x10]
0000177A 6634 bne +0x36 /* 000017B0 */
0000177C 200B move.l D0, A3
0000177E 6630 bne +0x32 /* 000017B0 */
00001780 7001 moveq.l D0, 0x01
00001782 602E bra +0x30 /* 000017B2 */
label00001784:
00001784 2F0C move.l -[A7], A4
00001786 61FF 0000 01AC bsr +0x1AE /* 00001934 */
0000178C 2800 move.l D4, D0
0000178E B684 cmp.l D3, D4
00001790 584F addq.w A7, 4
00001792 6504 bcs +0x6 /* 00001798 */
00001794 2004 move.l D0, D4
00001796 6002 bra +0x4 /* 0000179A */
label00001798:
00001798 2003 move.l D0, D3
label0000179A:
0000179A 6016 bra +0x18 /* 000017B2 */
label0000179C:
0000179C 200B move.l D0, A3
0000179E 4A80 tst.l D0
000017A0 6608 bne +0xA /* 000017AA */
000017A2 2D40 FFFC move.l [A6 - 0x4], D0
000017A6 7001 moveq.l D0, 0x01
000017A8 6004 bra +0x6 /* 000017AE */
label000017AA:
000017AA 4293 clr.l [A3]
000017AC 7000 moveq.l D0, 0x00
label000017AE:
000017AE 6002 bra +0x4 /* 000017B2 */
label000017B0:
000017B0 7000 moveq.l D0, 0x00
label000017B2:
000017B2 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000017B6 4E5E unlink A6
000017B8 4E75 rts
fn000017BA:
000017BA 4E56 0000 link A6, 0
000017BE 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
000017C2 246E 0008 movea.l A2, [A6 + 0x8]
000017C6 382E 000C move.w D4, [A6 + 0xC]
000017CA 3612 move.w D3, [A2]
000017CC 0283 0000 7FFC andi.l D3, 0x7FFC
000017D2 7000 moveq.l D0, 0x00
000017D4 3004 move.w D0, D4
000017D6 5C80 addq.l D0, 6
000017D8 7200 moveq.l D1, 0x00
000017DA 3200 move.w D1, D0
000017DC 5681 addq.l D1, 3
000017DE 0281 0000 FFFC andi.l D1, 0xFFFC
000017E4 3801 move.w D4, D1
000017E6 0C44 000C cmpi.w D4, 0xC
000017EA 6204 bhi +0x6 /* 000017F0 */
000017EC 700C moveq.l D0, 0x0C
000017EE 6002 bra +0x4 /* 000017F2 */
label000017F0:
000017F0 3004 move.w D0, D4
label000017F2:
000017F2 3800 move.w D4, D0
000017F4 B843 cmp.w D4, D3
000017F6 6200 00AC bhi +0xAE /* 000018A4 */
000017FA 206A 0002 movea.l A0, [A2 + 0x2]
000017FE 7000 moveq.l D0, 0x00
00001800 3004 move.w D0, D4
00001802 7200 moveq.l D1, 0x00
00001804 3203 move.w D1, D3
00001806 9280 sub.l D1, D0
00001808 3A01 move.w D5, D1
0000180A B268 0018 cmp.w D1, [A0 + 0x18]
0000180E 6500 008E bcs +0x90 /* 0000189E */
00001812 7000 moveq.l D0, 0x00
00001814 3003 move.w D0, D3
00001816 264A movea.l A3, A2
00001818 D7C0 add.l A3, D0
0000181A 3013 move.w D0, [A3]
0000181C 7201 moveq.l D1, 0x01
0000181E C081 and.l D0, D1
00001820 6624 bne +0x26 /* 00001846 */
00001822 3013 move.w D0, [A3]
00001824 0280 0000 FFFC andi.l D0, 0xFFFC
0000182A DA40 add.w D5, D0
0000182C 286A 0002 movea.l A4, [A2 + 0x2]
00001830 508C addq.l A4, 8
00001832 508C addq.l A4, 8
00001834 B7D4 cmpa.l A3, [A4]
00001836 6604 bne +0x6 /* 0000183C */
00001838 28AB 0002 move.l [A4], [A3 + 0x2]
label0000183C:
0000183C 2F0B move.l -[A7], A3
0000183E 61FF FFFF EF12 bsr -0x10EC /* 00000752 */
00001844 584F addq.w A7, 4
label00001846:
00001846 206A 0002 movea.l A0, [A2 + 0x2]
0000184A 2C28 0004 move.l D6, [A0 + 0x4]
0000184E 2046 movea.l A0, D6
00001850 BA50 cmp.w D5, [A0]
00001852 6302 bls +0x4 /* 00001856 */
00001854 3085 move.w [A0], D5
label00001856:
00001856 7000 moveq.l D0, 0x00
00001858 3004 move.w D0, D4
0000185A 7200 moveq.l D1, 0x00
0000185C 3212 move.w D1, [A2]
0000185E 0281 FFFF 8003 andi.l D1, 0xFFFF8003
00001864 8280 or.l D1, D0
00001866 3481 move.w [A2], D1
00001868 7000 moveq.l D0, 0x00
0000186A 3004 move.w D0, D4
0000186C 264A movea.l A3, A2
0000186E D7C0 add.l A3, D0
00001870 7002 moveq.l D0, 0x02
00001872 7200 moveq.l D1, 0x00
00001874 3205 move.w D1, D5
00001876 8280 or.l D1, D0
00001878 3681 move.w [A3], D1
0000187A 206A 0002 movea.l A0, [A2 + 0x2]
0000187E 2F28 0014 move.l -[A7], [A0 + 0x14]
00001882 2F0B move.l -[A7], A3
00001884 61FF FFFF EEEC bsr -0x1112 /* 00000772 */
0000188A 7000 moveq.l D0, 0x00
0000188C 3005 move.w D0, D5
0000188E 204B movea.l A0, A3
00001890 D1C0 add.l A0, D0
00001892 2648 movea.l A3, A0
00001894 3745 FFFE move.w [A3 - 0x2], D5
00001898 0253 FFFD andi.w [A3], 0xFFFD
0000189C 504F addq.w A7, 8
label0000189E:
0000189E 7001 moveq.l D0, 0x01
000018A0 6000 008A bra +0x8C /* 0000192C */
label000018A4:
000018A4 7000 moveq.l D0, 0x00
000018A6 3003 move.w D0, D3
000018A8 204A movea.l A0, A2
000018AA D1C0 add.l A0, D0
000018AC 2648 movea.l A3, A0
000018AE 3010 move.w D0, [A0]
000018B0 7201 moveq.l D1, 0x01
000018B2 C081 and.l D0, D1
000018B4 6674 bne +0x76 /* 0000192A */
000018B6 3013 move.w D0, [A3]
000018B8 0280 0000 FFFC andi.l D0, 0xFFFC
000018BE 7200 moveq.l D1, 0x00
000018C0 3203 move.w D1, D3
000018C2 D280 add.l D1, D0
000018C4 7000 moveq.l D0, 0x00
000018C6 3004 move.w D0, D4
000018C8 B081 cmp.l D0, D1
000018CA 6E5E bgt +0x60 /* 0000192A */
000018CC 206A 0002 movea.l A0, [A2 + 0x2]
000018D0 5088 addq.l A0, 8
000018D2 5088 addq.l A0, 8
000018D4 2A08 move.l D5, A0
000018D6 2045 movea.l A0, D5
000018D8 B7D0 cmpa.l A3, [A0]
000018DA 6604 bne +0x6 /* 000018E0 */
000018DC 20AB 0002 move.l [A0], [A3 + 0x2]
label000018E0:
000018E0 2F0B move.l -[A7], A3
000018E2 61FF FFFF EE6E bsr -0x1190 /* 00000752 */
000018E8 206A 0002 movea.l A0, [A2 + 0x2]
000018EC 3013 move.w D0, [A3]
000018EE 0280 0000 FFFC andi.l D0, 0xFFFC
000018F4 7200 moveq.l D1, 0x00
000018F6 3203 move.w D1, D3
000018F8 D280 add.l D1, D0
000018FA 7000 moveq.l D0, 0x00
000018FC 3004 move.w D0, D4
000018FE 9280 sub.l D1, D0
00001900 3A01 move.w D5, D1
00001902 B268 0018 cmp.w D1, [A0 + 0x18]
00001906 584F addq.w A7, 4
00001908 6400 FF4C bcc -0xB2 /* 00001856 */
0000190C 3013 move.w D0, [A3]
0000190E 0280 0000 FFFC andi.l D0, 0xFFFC
00001914 D152 add.w [A2], D0
00001916 3013 move.w D0, [A3]
00001918 0280 0000 FFFC andi.l D0, 0xFFFC
0000191E 41F3 0800 lea.l A0, [A3 + D0]
00001922 0050 0002 ori.w [A0], 0x2
00001926 7001 moveq.l D0, 0x01
00001928 6002 bra +0x4 /* 0000192C */
label0000192A:
0000192A 7000 moveq.l D0, 0x00
label0000192C:
0000192C 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00001930 4E5E unlink A6
00001932 4E75 rts
fn00001934:
00001934 4E56 0000 link A6, 0
00001938 48E7 1020 movem.l -[A7], D3,A2
0000193C 246E 0008 movea.l A2, [A6 + 0x8]
00001940 206A FFFC movea.l A0, [A2 - 0x4]
00001944 7000 moveq.l D0, 0x00
00001946 3028 000E move.w D0, [A0 + 0xE]
0000194A 0280 0000 FFF8 andi.l D0, 0xFFF8
00001950 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
00001956 6712 beq +0x14 /* 0000196A */
00001958 4878 000E push.l 0xE
0000195C 42A7 clr.l -[A7]
0000195E 61FF FFFF ECA4 bsr -0x135A /* 00000604 */
00001964 70FF moveq.l D0, 0xFFFFFFFF
00001966 504F addq.w A7, 8
00001968 605E bra +0x60 /* 000019C8 */
label0000196A:
0000196A 206A FFFC movea.l A0, [A2 - 0x4]
0000196E 3028 000E move.w D0, [A0 + 0xE]
00001972 7207 moveq.l D1, 0x07
00001974 C081 and.l D0, D1
00001976 7200 moveq.l D1, 0x00
00001978 3200 move.w D1, D0
0000197A 670E beq +0x10 /* 0000198A */
0000197C 5381 subq.l D1, 1
0000197E 6728 beq +0x2A /* 000019A8 */
00001980 5381 subq.l D1, 1
00001982 6706 beq +0x8 /* 0000198A */
00001984 5381 subq.l D1, 1
00001986 672C beq +0x2E /* 000019B4 */
00001988 603C bra +0x3E /* 000019C6 */
label0000198A:
0000198A 362A FFFA move.w D3, [A2 - 0x6]
0000198E 0283 0000 7FFC andi.l D3, 0x7FFC
00001994 5D83 subq.l D3, 6
00001996 302A FFFA move.w D0, [A2 - 0x6]
0000199A 0280 0000 8000 andi.l D0, 0x8000
000019A0 6702 beq +0x4 /* 000019A4 */
000019A2 5D83 subq.l D3, 6
label000019A4:
000019A4 2003 move.l D0, D3
000019A6 6020 bra +0x22 /* 000019C8 */
label000019A8:
000019A8 206A FFFC movea.l A0, [A2 - 0x4]
000019AC 2050 movea.l A0, [A0]
000019AE 2028 0024 move.l D0, [A0 + 0x24]
000019B2 6014 bra +0x16 /* 000019C8 */
label000019B4:
000019B4 2F2A FFFC move.l -[A7], [A2 - 0x4]
000019B8 61FF 0000 1338 bsr +0x133A /* 00002CF2 */
000019BE 721E moveq.l D1, 0x1E
000019C0 9081 sub.l D0, D1
000019C2 584F addq.w A7, 4
000019C4 6002 bra +0x4 /* 000019C8 */
label000019C6:
000019C6 70FF moveq.l D0, 0xFFFFFFFF
label000019C8:
000019C8 4CDF 0408 movem.l D3,A2, [A7]+
000019CC 4E5E unlink A6
000019CE 4E75 rts
fn000019D0:
000019D0 4E56 0000 link A6, 0
000019D4 48E7 0030 movem.l -[A7], A2,A3
000019D8 266E 0008 movea.l A3, [A6 + 0x8]
000019DC 6014 bra +0x16 /* 000019F2 */
label000019DE:
000019DE 4267 clr.w -[A7]
000019E0 2F0B move.l -[A7], A3
000019E2 61FF 0000 00A2 bsr +0xA4 /* 00001A86 */
000019E8 4A40 tst.w D0
000019EA 5C4F addq.w A7, 6
000019EC 6604 bne +0x6 /* 000019F2 */
000019EE 91C8 sub.l A0, A0
000019F0 6010 bra +0x12 /* 00001A02 */
label000019F2:
000019F2 246B 0018 movea.l A2, [A3 + 0x18]
000019F6 200A move.l D0, A2
000019F8 4A80 tst.l D0
000019FA 67E2 beq -0x1C /* 000019DE */
000019FC 2752 0018 move.l [A3 + 0x18], [A2]
00001A00 204A movea.l A0, A2
label00001A02:
00001A02 4CDF 0C00 movem.l A2,A3, [A7]+
00001A06 4E5E unlink A6
00001A08 4E75 rts
00001A0A 4E56 0000 link A6, 0
00001A0E 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00001A12 246E 0008 movea.l A2, [A6 + 0x8]
00001A16 282E 000C move.l D4, [A6 + 0xC]
00001A1A 7A00 moveq.l D5, 0x00
00001A1C 0C6A BEAD 0020 cmpi.w [A2 + 0x20], 0xBEAD
00001A22 6712 beq +0x14 /* 00001A36 */
00001A24 4878 000A push.l 0xA /* '\n' */
00001A28 42A7 clr.l -[A7]
00001A2A 61FF FFFF EBD8 bsr -0x1426 /* 00000604 */
00001A30 7000 moveq.l D0, 0x00
00001A32 504F addq.w A7, 8
00001A34 6048 bra +0x4A /* 00001A7E */
label00001A36:
00001A36 5384 subq.l D4, 1
00001A38 4C3C 4000 0000 movem.w A6, 0x0
00001A3E 000A 720E ori.b A2, 0xE
00001A42 D881 add.l D4, D1
00001A44 6032 bra +0x34 /* 00001A78 */
label00001A46:
00001A46 0C84 0000 FFFF cmpi.l D4, 0xFFFF
00001A4C 6204 bhi +0x6 /* 00001A52 */
00001A4E 2004 move.l D0, D4
00001A50 6006 bra +0x8 /* 00001A58 */
label00001A52:
00001A52 203C 0000 FFFF move.l D0, 0xFFFF
label00001A58:
00001A58 3600 move.w D3, D0
00001A5A 7000 moveq.l D0, 0x00
00001A5C 3003 move.w D0, D3
00001A5E 9880 sub.l D4, D0
00001A60 3F03 move.w -[A7], D3
00001A62 2F0A move.l -[A7], A2
00001A64 61FF 0000 0020 bsr +0x22 /* 00001A86 */
00001A6A 3600 move.w D3, D0
00001A6C 4A40 tst.w D0
00001A6E 5C4F addq.w A7, 6
00001A70 670A beq +0xC /* 00001A7C */
00001A72 7000 moveq.l D0, 0x00
00001A74 3003 move.w D0, D3
00001A76 DA80 add.l D5, D0
label00001A78:
00001A78 4A84 tst.l D4
00001A7A 66CA bne -0x34 /* 00001A46 */
label00001A7C:
00001A7C 2005 move.l D0, D5
label00001A7E:
00001A7E 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00001A82 4E5E unlink A6
00001A84 4E75 rts
fn00001A86:
00001A86 4E56 0000 link A6, 0
00001A8A 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
00001A8E 282E 0008 move.l D4, [A6 + 0x8]
00001A92 362E 000C move.w D3, [A6 + 0xC]
00001A96 2044 movea.l A0, D4
00001A98 2668 001C movea.l A3, [A0 + 0x1C]
00001A9C 4A43 tst.w D3
00001A9E 6600 009E bne +0xA0 /* 00001B3E */
00001AA2 200B move.l D0, A3
00001AA4 6700 0098 beq +0x9A /* 00001B3E */
00001AA8 2F0B move.l -[A7], A3
00001AAA 61FF 0000 1246 bsr +0x1248 /* 00002CF2 */
00001AB0 2A00 move.l D5, D0
00001AB2 0C80 0000 FFFF cmpi.l D0, 0xFFFF
00001AB8 584F addq.w A7, 4
00001ABA 6400 0082 bcc +0x84 /* 00001B3E */
00001ABE 0C85 0000 4000 cmpi.l D5, 0x4000 /* '@\0' */
00001AC4 6508 bcs +0xA /* 00001ACE */
00001AC6 203C 0000 4000 move.l D0, 0x4000 /* '@\0' */
00001ACC 6004 bra +0x6 /* 00001AD2 */
label00001ACE:
00001ACE 7000 moveq.l D0, 0x00
00001AD0 3005 move.w D0, D5
label00001AD2:
00001AD2 7200 moveq.l D1, 0x00
00001AD4 3200 move.w D1, D0
00001AD6 2C01 move.l D6, D1
00001AD8 2044 movea.l A0, D4
00001ADA 7000 moveq.l D0, 0x00
00001ADC 3028 0022 move.w D0, [A0 + 0x22]
00001AE0 0080 0000 1000 ori.l D0, 0x1000
00001AE6 2F00 move.l -[A7], D0
00001AE8 2005 move.l D0, D5
00001AEA D086 add.l D0, D6
00001AEC 0C80 0000 FFFF cmpi.l D0, 0xFFFF
00001AF2 6508 bcs +0xA /* 00001AFC */
00001AF4 203C 0000 FFFF move.l D0, 0xFFFF
00001AFA 6004 bra +0x6 /* 00001B00 */
label00001AFC:
00001AFC 2005 move.l D0, D5
00001AFE D086 add.l D0, D6
label00001B00:
00001B00 3600 move.w D3, D0
00001B02 7200 moveq.l D1, 0x00
00001B04 3200 move.w D1, D0
00001B06 2F01 move.l -[A7], D1
00001B08 2F0B move.l -[A7], A3
00001B0A 61FF 0000 1150 bsr +0x1152 /* 00002C5C */
00001B10 4A80 tst.l D0
00001B12 4FEF 000C lea.l A7, [A7 + 0xC]
00001B16 6726 beq +0x28 /* 00001B3E */
00001B18 2005 move.l D0, D5
00001B1A 720E moveq.l D1, 0x0E
00001B1C 9081 sub.l D0, D1
00001B1E 4C7C 0000 0000 000A movem.l <none>, 0xA /* '\n' */
00001B26 5280 addq.l D0, 1
00001B28 4C3C 0800 0000 movem.w A3, 0x0
00001B2E 000A 244B ori.b A2, 0x4B /* 'K' */
00001B32 D5C0 add.l A2, D0
00001B34 588A addq.l A2, 4
00001B36 2044 movea.l A0, D4
00001B38 9BA8 002C sub.l [A0 + 0x2C], D5
00001B3C 6060 bra +0x62 /* 00001B9E */
label00001B3E:
00001B3E 4A43 tst.w D3
00001B40 6628 bne +0x2A /* 00001B6A */
00001B42 363C 1000 move.w D3, 0x1000
00001B46 6022 bra +0x24 /* 00001B6A */
label00001B48:
00001B48 E24B lsr D3.w, 1
00001B4A 0C43 000E cmpi.w D3, 0xE
00001B4E 641A bcc +0x1C /* 00001B6A */
00001B50 D643 add.w D3, D3
00001B52 4878 0002 push.l 0x2
00001B56 2F04 move.l -[A7], D4
00001B58 61FF FFFF EAAA bsr -0x1554 /* 00000604 */
00001B5E 4A80 tst.l D0
00001B60 504F addq.w A7, 8
00001B62 6606 bne +0x8 /* 00001B6A */
00001B64 7000 moveq.l D0, 0x00
00001B66 6000 008C bra +0x8E /* 00001BF4 */
label00001B6A:
00001B6A 2044 movea.l A0, D4
00001B6C 7000 moveq.l D0, 0x00
00001B6E 3028 0022 move.w D0, [A0 + 0x22]
00001B72 0080 0000 1000 ori.l D0, 0x1000
00001B78 2F00 move.l -[A7], D0
00001B7A 7000 moveq.l D0, 0x00
00001B7C 3003 move.w D0, D3
00001B7E 2F00 move.l -[A7], D0
00001B80 61FF 0000 0F8A bsr +0xF8C /* 00002B0C */
00001B86 2648 movea.l A3, A0
00001B88 2008 move.l D0, A0
00001B8A 4A80 tst.l D0
00001B8C 504F addq.w A7, 8
00001B8E 67B8 beq -0x46 /* 00001B48 */
00001B90 2044 movea.l A0, D4
00001B92 26A8 001C move.l [A3], [A0 + 0x1C]
00001B96 214B 001C move.l [A0 + 0x1C], A3
00001B9A 244B movea.l A2, A3
00001B9C 588A addq.l A2, 4
label00001B9E:
00001B9E 2F0B move.l -[A7], A3
00001BA0 61FF 0000 1150 bsr +0x1152 /* 00002CF2 */
00001BA6 2044 movea.l A0, D4
00001BA8 D1A8 002C add.l [A0 + 0x2C], D0
00001BAC 2F0B move.l -[A7], A3
00001BAE 61FF 0000 1142 bsr +0x1144 /* 00002CF2 */
00001BB4 720E moveq.l D1, 0x0E
00001BB6 9081 sub.l D0, D1
00001BB8 4C7C 0000 0000 000A movem.l <none>, 0xA /* '\n' */
00001BC0 5280 addq.l D0, 1
00001BC2 3600 move.w D3, D0
00001BC4 7000 moveq.l D0, 0x00
00001BC6 3003 move.w D0, D3
00001BC8 4C3C 0800 0000 movem.w A3, 0x0
00001BCE 000A 284B ori.b A2, 0x4B /* 'K' */
00001BD2 D9C0 add.l A4, D0
00001BD4 5D8C subq.l A4, 6
00001BD6 2044 movea.l A0, D4
00001BD8 2668 0018 movea.l A3, [A0 + 0x18]
00001BDC 504F addq.w A7, 8
label00001BDE:
00001BDE 248B move.l [A2], A3
00001BE0 264A movea.l A3, A2
00001BE2 204A movea.l A0, A2
00001BE4 700A moveq.l D0, 0x0A
00001BE6 D5C0 add.l A2, D0
00001BE8 B1CC cmpa.l A0, A4
00001BEA 65F2 bcs -0xC /* 00001BDE */
00001BEC 2044 movea.l A0, D4
00001BEE 214B 0018 move.l [A0 + 0x18], A3
00001BF2 3003 move.w D0, D3
label00001BF4:
00001BF4 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00001BF8 4E5E unlink A6
00001BFA 4E75 rts
fn00001BFC:
00001BFC 4E56 0000 link A6, 0
00001C00 206E 0008 movea.l A0, [A6 + 0x8]
00001C04 226E 000C movea.l A1, [A6 + 0xC]
00001C08 22A8 0018 move.l [A1], [A0 + 0x18]
00001C0C 2149 0018 move.l [A0 + 0x18], A1
00001C10 4E5E unlink A6
00001C12 4E75 rts
00001C14 4E56 FFFC link A6, -0x0004
00001C18 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001C1C 286E 0008 movea.l A4, [A6 + 0x8]
00001C20 382E 000C move.w D4, [A6 + 0xC]
00001C24 266C 0008 movea.l A3, [A4 + 0x8]
00001C28 244B movea.l A2, A3
00001C2A 2C0B move.l D6, A3
00001C2C 7600 moveq.l D3, 0x00
00001C2E 200B move.l D0, A3
00001C30 6606 bne +0x8 /* 00001C38 */
00001C32 7000 moveq.l D0, 0x00
00001C34 6000 00AA bra +0xAC /* 00001CE0 */
label00001C38:
00001C38 7000 moveq.l D0, 0x00
00001C3A 302B 0002 move.w D0, [A3 + 0x2]
00001C3E 0280 0000 8000 andi.l D0, 0x8000
00001C44 6618 bne +0x1A /* 00001C5E */
00001C46 2A2B 000C move.l D5, [A3 + 0xC]
00001C4A 42A7 clr.l -[A7]
00001C4C 3F04 move.w -[A7], D4
00001C4E 2F05 move.l -[A7], D5
00001C50 61FF 0000 02A8 bsr +0x2AA /* 00001EFA */
00001C56 3600 move.w D3, D0
00001C58 3683 move.w [A3], D3
00001C5A 4FEF 000A lea.l A7, [A7 + 0xA]
label00001C5E:
00001C5E 7E00 moveq.l D7, 0x00
00001C60 3E2A 0002 move.w D7, [A2 + 0x2]
00001C64 0287 FFFF 7FFF andi.l D7, 0xFFFF7FFF
00001C6A 7000 moveq.l D0, 0x00
00001C6C 302B 0002 move.w D0, [A3 + 0x2]
00001C70 0280 FFFF 7FFF andi.l D0, 0xFFFF7FFF
00001C76 2D40 FFFC move.l [A6 - 0x4], D0
00001C7A BE80 cmp.l D7, D0
00001C7C 620C bhi +0xE /* 00001C8A */
00001C7E BEAE FFFC cmp.l D7, [A6 - 0x4]
00001C82 6608 bne +0xA /* 00001C8C */
00001C84 3013 move.w D0, [A3]
00001C86 B052 cmp.w D0, [A2]
00001C88 6302 bls +0x4 /* 00001C8C */
label00001C8A:
00001C8A 244B movea.l A2, A3
label00001C8C:
00001C8C B853 cmp.w D4, [A3]
00001C8E 6204 bhi +0x6 /* 00001C94 */
00001C90 244B movea.l A2, A3
00001C92 6008 bra +0xA /* 00001C9C */
label00001C94:
00001C94 266B 0004 movea.l A3, [A3 + 0x4]
00001C98 B7C6 cmpa.l A3, D6
00001C9A 669C bne -0x62 /* 00001C38 */
label00001C9C:
00001C9C B852 cmp.w D4, [A2]
00001C9E 632E bls +0x30 /* 00001CCE */
00001CA0 B5EA 0004 cmpa.l A2, [A2 + 0x4]
00001CA4 6728 beq +0x2A /* 00001CCE */
00001CA6 266A 000C movea.l A3, [A2 + 0xC]
00001CAA 4252 clr.w [A2]
00001CAC 296A 0004 0008 move.l [A4 + 0x8], [A2 + 0x4]
00001CB2 3F04 move.w -[A7], D4
00001CB4 2F0B move.l -[A7], A3
00001CB6 61FF 0000 0030 bsr +0x32 /* 00001CE8 */
00001CBC 3600 move.w D3, D0
00001CBE 0C43 FFFF cmpi.w D3, 0xFFFF
00001CC2 5C4F addq.w A7, 6
00001CC4 6606 bne +0x8 /* 00001CCC */
00001CC6 246C 0008 movea.l A2, [A4 + 0x8]
00001CCA 6002 bra +0x4 /* 00001CCE */
label00001CCC:
00001CCC 3483 move.w [A2], D3
label00001CCE:
00001CCE B5EA 0004 cmpa.l A2, [A2 + 0x4]
00001CD2 6706 beq +0x8 /* 00001CDA */
00001CD4 0C43 FFFF cmpi.w D3, 0xFFFF
00001CD8 67C2 beq -0x3C /* 00001C9C */
label00001CDA:
00001CDA 294A 0008 move.l [A4 + 0x8], A2
00001CDE 3012 move.w D0, [A2]
label00001CE0:
00001CE0 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001CE4 4E5E unlink A6
00001CE6 4E75 rts
fn00001CE8:
00001CE8 4E56 FFF6 link A6, -0x000A
00001CEC 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001CF0 2A2E 0008 move.l D5, [A6 + 0x8]
00001CF4 3E2E 000C move.w D7, [A6 + 0xC]
00001CF8 3D7C FFFF FFFA move.w [A6 - 0x6], 0xFFFF
00001CFE 2445 movea.l A2, D5
00001D00 45EA 0020 lea.l A2, [A2 + 0x20]
00001D04 5D8A subq.l A2, 6
00001D06 2045 movea.l A0, D5
00001D08 2D50 FFF6 move.l [A6 - 0xA], [A0]
00001D0C 97CB sub.l A3, A3
00001D0E 42AE FFFC clr.l [A6 - 0x4]
00001D12 7800 moveq.l D4, 0x00
00001D14 7C00 moveq.l D6, 0x00
label00001D16:
00001D16 3012 move.w D0, [A2]
00001D18 7201 moveq.l D1, 0x01
00001D1A C081 and.l D0, D1
00001D1C 6622 bne +0x24 /* 00001D40 */
00001D1E 200B move.l D0, A3
00001D20 670C beq +0xE /* 00001D2E */
00001D22 2F0A move.l -[A7], A2
00001D24 61FF FFFF EA2C bsr -0x15D2 /* 00000752 */
00001D2A 584F addq.w A7, 4
00001D2C 6002 bra +0x4 /* 00001D30 */
label00001D2E:
00001D2E 264A movea.l A3, A2
label00001D30:
00001D30 3012 move.w D0, [A2]
00001D32 0280 0000 FFFC andi.l D0, 0xFFFC
00001D38 3600 move.w D3, D0
00001D3A D840 add.w D4, D0
00001D3C 6000 016E bra +0x170 /* 00001EAC */
label00001D40:
00001D40 B847 cmp.w D4, D7
00001D42 6400 00DC bcc +0xDE /* 00001E20 */
00001D46 3012 move.w D0, [A2]
00001D48 0280 0000 7FFC andi.l D0, 0x7FFC
00001D4E 3600 move.w D3, D0
00001D50 4A40 tst.w D0
00001D52 6700 00CC beq +0xCE /* 00001E20 */
00001D56 3012 move.w D0, [A2]
00001D58 0280 0000 7FFC andi.l D0, 0x7FFC
00001D5E 2072 08FA movea.l A0, [A2 + D0 - 0x6]
00001D62 4A68 0008 tst.w [A0 + 0x8]
00001D66 6600 00B8 bne +0xBA /* 00001E20 */
00001D6A B66E FFFA cmp.w D3, [A6 - 0x6]
00001D6E 6400 00B0 bcc +0xB2 /* 00001E20 */
00001D72 7000 moveq.l D0, 0x00
00001D74 3003 move.w D0, D3
00001D76 5D80 subq.l D0, 6
00001D78 3F00 move.w -[A7], D0
00001D7A 4878 0072 push.l 0x72 /* 'r' */
00001D7E 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00001D82 61FF FFFF F4E6 bsr -0xB18 /* 0000126A */
00001D88 2848 movea.l A4, A0
00001D8A 200C move.l D0, A4
00001D8C 4FEF 000A lea.l A7, [A7 + 0xA]
00001D90 6608 bne +0xA /* 00001D9A */
00001D92 3D43 FFFA move.w [A6 - 0x6], D3
00001D96 6000 0088 bra +0x8A /* 00001E20 */
label00001D9A:
00001D9A 7000 moveq.l D0, 0x00
00001D9C 3003 move.w D0, D3
00001D9E 720C moveq.l D1, 0x0C
00001DA0 9081 sub.l D0, D1
00001DA2 2200 move.l D1, D0
00001DA4 204C movea.l A0, A4
00001DA6 43EA 0006 lea.l A1, [A2 + 0x6]
00001DAA 2008 move.l D0, A0
00001DAC 4A81 tst.l D1
00001DAE 6706 beq +0x8 /* 00001DB6 */
label00001DB0:
00001DB0 10D9 move.b [A0]+, [A1]+
00001DB2 5381 subq.l D1, 1
00001DB4 66FA bne -0x4 /* 00001DB0 */
label00001DB6:
00001DB6 3012 move.w D0, [A2]
00001DB8 0280 0000 7FFC andi.l D0, 0x7FFC
00001DBE 2072 08FA movea.l A0, [A2 + D0 - 0x6]
00001DC2 208C move.l [A0], A4
00001DC4 3012 move.w D0, [A2]
00001DC6 0280 0000 7FFC andi.l D0, 0x7FFC
00001DCC 322C FFFA move.w D1, [A4 - 0x6]
00001DD0 0281 0000 7FFC andi.l D1, 0x7FFC
00001DD6 204C movea.l A0, A4
00001DD8 5D88 subq.l A0, 6
00001DDA 21B2 08FA 18FA move.l [A0 + D1 - 0x6], [A2 + D0 - 0x6]
00001DE0 006C 8000 FFFA ori.w [A4 - 0x6], 0x8000
00001DE6 200B move.l D0, A3
00001DE8 6602 bne +0x4 /* 00001DEC */
00001DEA 264A movea.l A3, A2
label00001DEC:
00001DEC D843 add.w D4, D3
00001DEE 2045 movea.l A0, D5
00001DF0 5368 000C subq.w [A0 + 0xC], 1
00001DF4 4A68 000C tst.w [A0 + 0xC]
00001DF8 6600 00B2 bne +0xB4 /* 00001EAC */
00001DFC 0C47 FFFF cmpi.w D7, 0xFFFF
00001E00 6600 00AA bne +0xAC /* 00001EAC */
00001E04 4878 0001 push.l 0x1
00001E08 2F05 move.l -[A7], D5
00001E0A 61FF FFFF EEBC bsr -0x1142 /* 00000CC8 */
00001E10 4A80 tst.l D0
00001E12 504F addq.w A7, 8
00001E14 6700 0096 beq +0x98 /* 00001EAC */
00001E18 303C FFFF move.w D0, 0xFFFF
00001E1C 6000 00D4 bra +0xD6 /* 00001EF2 */
label00001E20:
00001E20 200B move.l D0, A3
00001E22 6700 0084 beq +0x86 /* 00001EA8 */
00001E26 4AAE FFFC tst.l [A6 - 0x4]
00001E2A 6604 bne +0x6 /* 00001E30 */
00001E2C 2D4B FFFC move.l [A6 - 0x4], A3
label00001E30:
00001E30 3013 move.w D0, [A3]
00001E32 7201 moveq.l D1, 0x01
00001E34 C081 and.l D0, D1
00001E36 2840 movea.l A4, D0
00001E38 7002 moveq.l D0, 0x02
00001E3A 3544 FFFE move.w [A2 - 0x2], D4
00001E3E 7200 moveq.l D1, 0x00
00001E40 3204 move.w D1, D4
00001E42 8280 or.l D1, D0
00001E44 3681 move.w [A3], D1
00001E46 200C move.l D0, A4
00001E48 6710 beq +0x12 /* 00001E5A */
00001E4A 2045 movea.l A0, D5
00001E4C 2F28 0014 move.l -[A7], [A0 + 0x14]
00001E50 2F0B move.l -[A7], A3
00001E52 61FF FFFF E91E bsr -0x16E0 /* 00000772 */
00001E58 504F addq.w A7, 8
label00001E5A:
00001E5A 0252 FFFD andi.w [A2], 0xFFFD
00001E5E B847 cmp.w D4, D7
00001E60 6524 bcs +0x26 /* 00001E86 */
00001E62 2045 movea.l A0, D5
00001E64 214B 0010 move.l [A0 + 0x10], A3
00001E68 4A86 tst.l D6
00001E6A 6716 beq +0x18 /* 00001E82 */
00001E6C 206B 0002 movea.l A0, [A3 + 0x2]
00001E70 B1EB 0006 cmpa.l A0, [A3 + 0x6]
00001E74 670C beq +0xE /* 00001E82 */
00001E76 2045 movea.l A0, D5
00001E78 2068 0004 movea.l A0, [A0 + 0x4]
00001E7C 0268 7FFF 0002 andi.w [A0 + 0x2], 0x7FFF
label00001E82:
00001E82 3004 move.w D0, D4
00001E84 606C bra +0x6E /* 00001EF2 */
label00001E86:
00001E86 4A43 tst.w D3
00001E88 6730 beq +0x32 /* 00001EBA */
00001E8A 4A86 tst.l D6
00001E8C 6614 bne +0x16 /* 00001EA2 */
00001E8E 3012 move.w D0, [A2]
00001E90 0280 0000 7FFC andi.l D0, 0x7FFC
00001E96 2072 08FA movea.l A0, [A2 + D0 - 0x6]
00001E9A 4A68 0008 tst.w [A0 + 0x8]
00001E9E 6602 bne +0x4 /* 00001EA2 */
00001EA0 7C01 moveq.l D6, 0x01
label00001EA2:
00001EA2 97CB sub.l A3, A3
00001EA4 7800 moveq.l D4, 0x00
00001EA6 6004 bra +0x6 /* 00001EAC */
label00001EA8:
00001EA8 4A43 tst.w D3
00001EAA 670E beq +0x10 /* 00001EBA */
label00001EAC:
00001EAC 7000 moveq.l D0, 0x00
00001EAE 3003 move.w D0, D3
00001EB0 204A movea.l A0, A2
00001EB2 D1C0 add.l A0, D0
00001EB4 2448 movea.l A2, A0
00001EB6 6000 FE5E bra -0x1A0 /* 00001D16 */
label00001EBA:
00001EBA 4A86 tst.l D6
00001EBC 6726 beq +0x28 /* 00001EE4 */
00001EBE 206E FFFC movea.l A0, [A6 - 0x4]
00001EC2 2248 movea.l A1, A0
00001EC4 2269 0002 movea.l A1, [A1 + 0x2]
00001EC8 B3E8 0006 cmpa.l A1, [A0 + 0x6]
00001ECC 6716 beq +0x18 /* 00001EE4 */
00001ECE 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001ED2 3F07 move.w -[A7], D7
00001ED4 2F05 move.l -[A7], D5
00001ED6 61FF 0000 0022 bsr +0x24 /* 00001EFA */
00001EDC 3800 move.w D4, D0
00001EDE 4FEF 000A lea.l A7, [A7 + 0xA]
00001EE2 600C bra +0xE /* 00001EF0 */
label00001EE4:
00001EE4 2F05 move.l -[A7], D5
00001EE6 61FF 0000 00FE bsr +0x100 /* 00001FE6 */
00001EEC 3800 move.w D4, D0
00001EEE 584F addq.w A7, 4
label00001EF0:
00001EF0 3004 move.w D0, D4
label00001EF2:
00001EF2 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001EF6 4E5E unlink A6
00001EF8 4E75 rts
fn00001EFA:
00001EFA 4E56 0000 link A6, 0
00001EFE 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00001F02 286E 0008 movea.l A4, [A6 + 0x8]
00001F06 382E 000C move.w D4, [A6 + 0xC]
00001F0A 246E 000E movea.l A2, [A6 + 0xE]
00001F0E 264C movea.l A3, A4
00001F10 47EB 0020 lea.l A3, [A3 + 0x20]
00001F14 5D8B subq.l A3, 6
00001F16 262C 0014 move.l D3, [A4 + 0x14]
00001F1A 200A move.l D0, A2
00001F1C 6600 009C bne +0x9E /* 00001FBA */
00001F20 244B movea.l A2, A3
00001F22 6000 0096 bra +0x98 /* 00001FBA */
label00001F26:
00001F26 3012 move.w D0, [A2]
00001F28 7201 moveq.l D1, 0x01
00001F2A C081 and.l D0, D1
00001F2C 6670 bne +0x72 /* 00001F9E */
00001F2E 3012 move.w D0, [A2]
00001F30 0280 0000 FFFC andi.l D0, 0xFFFC
00001F36 204A movea.l A0, A2
00001F38 D1C0 add.l A0, D0
00001F3A 2648 movea.l A3, A0
00001F3C B1C3 cmpa.l A0, D3
00001F3E 645E bcc +0x60 /* 00001F9E */
00001F40 3013 move.w D0, [A3]
00001F42 C081 and.l D0, D1
00001F44 6758 beq +0x5A /* 00001F9E */
00001F46 3013 move.w D0, [A3]
00001F48 0280 0000 7FFC andi.l D0, 0x7FFC
00001F4E 2073 08FA movea.l A0, [A3 + D0 - 0x6]
00001F52 4A68 0008 tst.w [A0 + 0x8]
00001F56 6646 bne +0x48 /* 00001F9E */
00001F58 2F0B move.l -[A7], A3
00001F5A 61FF 0000 00C4 bsr +0xC6 /* 00002020 */
00001F60 2448 movea.l A2, A0
00001F62 3012 move.w D0, [A2]
00001F64 7201 moveq.l D1, 0x01
00001F66 C081 and.l D0, D1
00001F68 584F addq.w A7, 4
00001F6A 664E bne +0x50 /* 00001FBA */
00001F6C 7000 moveq.l D0, 0x00
00001F6E 3004 move.w D0, D4
00001F70 3212 move.w D1, [A2]
00001F72 0281 0000 FFFC andi.l D1, 0xFFFC
00001F78 B280 cmp.l D1, D0
00001F7A 6D3E blt +0x40 /* 00001FBA */
00001F7C 294A 0010 move.l [A4 + 0x10], A2
00001F80 206A 0002 movea.l A0, [A2 + 0x2]
00001F84 B1EA 0006 cmpa.l A0, [A2 + 0x6]
00001F88 660A bne +0xC /* 00001F94 */
00001F8A 206C 0004 movea.l A0, [A4 + 0x4]
00001F8E 0068 8000 0002 ori.w [A0 + 0x2], 0x8000
label00001F94:
00001F94 3012 move.w D0, [A2]
00001F96 0280 0000 FFFC andi.l D0, 0xFFFC
00001F9C 6040 bra +0x42 /* 00001FDE */
label00001F9E:
00001F9E 3012 move.w D0, [A2]
00001FA0 7201 moveq.l D1, 0x01
00001FA2 C081 and.l D0, D1
00001FA4 4A80 tst.l D0
00001FA6 670E beq +0x10 /* 00001FB6 */
00001FA8 3012 move.w D0, [A2]
00001FAA 0280 0000 7FFC andi.l D0, 0x7FFC
00001FB0 204A movea.l A0, A2
00001FB2 D1C0 add.l A0, D0
00001FB4 6002 bra +0x4 /* 00001FB8 */
label00001FB6:
00001FB6 204B movea.l A0, A3
label00001FB8:
00001FB8 2448 movea.l A2, A0
label00001FBA:
00001FBA B5C3 cmpa.l A2, D3
00001FBC 640C bcc +0xE /* 00001FCA */
00001FBE 206A 0002 movea.l A0, [A2 + 0x2]
00001FC2 B1EA 0006 cmpa.l A0, [A2 + 0x6]
00001FC6 6600 FF5E bne -0xA0 /* 00001F26 */
label00001FCA:
00001FCA 206C 0004 movea.l A0, [A4 + 0x4]
00001FCE 0068 8000 0002 ori.w [A0 + 0x2], 0x8000
00001FD4 2F0C move.l -[A7], A4
00001FD6 61FF 0000 000E bsr +0x10 /* 00001FE6 */
00001FDC 584F addq.w A7, 4
label00001FDE:
00001FDE 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00001FE2 4E5E unlink A6
00001FE4 4E75 rts
fn00001FE6:
00001FE6 4E56 0000 link A6, 0
00001FEA 226E 0008 movea.l A1, [A6 + 0x8]
00001FEE 2069 0014 movea.l A0, [A1 + 0x14]
00001FF2 7400 moveq.l D2, 0x00
label00001FF4:
00001FF4 7000 moveq.l D0, 0x00
00001FF6 3002 move.w D0, D2
00001FF8 3210 move.w D1, [A0]
00001FFA 0281 0000 FFFC andi.l D1, 0xFFFC
00002000 B280 cmp.l D1, D0
00002002 6F0C ble +0xE /* 00002010 */
00002004 2348 0010 move.l [A1 + 0x10], A0
00002008 3410 move.w D2, [A0]
0000200A 0282 0000 FFFC andi.l D2, 0xFFFC
label00002010:
00002010 2068 0002 movea.l A0, [A0 + 0x2]
00002014 B1E9 0014 cmpa.l A0, [A1 + 0x14]
00002018 66DA bne -0x24 /* 00001FF4 */
0000201A 3002 move.w D0, D2
0000201C 4E5E unlink A6
0000201E 4E75 rts
fn00002020:
00002020 4E56 0000 link A6, 0
00002024 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00002028 286E 0008 movea.l A4, [A6 + 0x8]
0000202C 244C movea.l A2, A4
0000202E 6024 bra +0x26 /* 00002054 */
label00002030:
00002030 3012 move.w D0, [A2]
00002032 0280 0000 7FFC andi.l D0, 0x7FFC
00002038 4A80 tst.l D0
0000203A 6712 beq +0x14 /* 0000204E */
0000203C 3012 move.w D0, [A2]
0000203E 0280 0000 7FFC andi.l D0, 0x7FFC
00002044 2072 08FA movea.l A0, [A2 + D0 - 0x6]
00002048 4A68 0008 tst.w [A0 + 0x8]
0000204C 6706 beq +0x8 /* 00002054 */
label0000204E:
0000204E 204A movea.l A0, A2
00002050 6000 00CC bra +0xCE /* 0000211E */
label00002054:
00002054 3012 move.w D0, [A2]
00002056 0280 0000 7FFC andi.l D0, 0x7FFC
0000205C 204A movea.l A0, A2
0000205E D1C0 add.l A0, D0
00002060 2448 movea.l A2, A0
00002062 3010 move.w D0, [A0]
00002064 7201 moveq.l D1, 0x01
00002066 C081 and.l D0, D1
00002068 66C6 bne -0x38 /* 00002030 */
0000206A 204A movea.l A0, A2
0000206C 91CC sub.l A0, A4
0000206E 2808 move.l D4, A0
00002070 362C FFFE move.w D3, [A4 - 0x2]
00002074 7000 moveq.l D0, 0x00
00002076 3003 move.w D0, D3
00002078 264C movea.l A3, A4
0000207A 97C0 sub.l A3, D0
0000207C 2F0B move.l -[A7], A3
0000207E 61FF FFFF E6D2 bsr -0x192C /* 00000752 */
00002084 7000 moveq.l D0, 0x00
00002086 3004 move.w D0, D4
00002088 2F00 move.l -[A7], D0
0000208A 2F0C move.l -[A7], A4
0000208C 2F0B move.l -[A7], A3
0000208E 61FF 0000 1F70 bsr +0x1F72 /* 00004000 */
00002094 284B movea.l A4, A3
00002096 0054 0002 ori.w [A4], 0x2
0000209A 7000 moveq.l D0, 0x00
0000209C 3004 move.w D0, D4
0000209E 264C movea.l A3, A4
000020A0 D7C0 add.l A3, D0
000020A2 3012 move.w D0, [A2]
000020A4 7201 moveq.l D1, 0x01
000020A6 C081 and.l D0, D1
000020A8 4FEF 0010 lea.l A7, [A7 + 0x10]
000020AC 670C beq +0xE /* 000020BA */
000020AE 7002 moveq.l D0, 0x02
000020B0 7200 moveq.l D1, 0x00
000020B2 3203 move.w D1, D3
000020B4 8280 or.l D1, D0
000020B6 3681 move.w [A3], D1
000020B8 601E bra +0x20 /* 000020D8 */
label000020BA:
000020BA 7002 moveq.l D0, 0x02
000020BC 3212 move.w D1, [A2]
000020BE 0281 0000 FFFC andi.l D1, 0xFFFC
000020C4 D641 add.w D3, D1
000020C6 7200 moveq.l D1, 0x00
000020C8 3203 move.w D1, D3
000020CA 8280 or.l D1, D0
000020CC 3681 move.w [A3], D1
000020CE 2F0A move.l -[A7], A2
000020D0 61FF FFFF E680 bsr -0x197E /* 00000752 */
000020D6 584F addq.w A7, 4
label000020D8:
000020D8 206C 0002 movea.l A0, [A4 + 0x2]
000020DC 2F28 0014 move.l -[A7], [A0 + 0x14]
000020E0 2F0B move.l -[A7], A3
000020E2 61FF FFFF E68E bsr -0x1970 /* 00000772 */
000020E8 7000 moveq.l D0, 0x00
000020EA 3003 move.w D0, D3
000020EC 244B movea.l A2, A3
000020EE D5C0 add.l A2, D0
000020F0 3543 FFFE move.w [A2 - 0x2], D3
000020F4 244C movea.l A2, A4
000020F6 504F addq.w A7, 8
label000020F8:
000020F8 204A movea.l A0, A2
000020FA 5C88 addq.l A0, 6
000020FC 3012 move.w D0, [A2]
000020FE 0280 0000 7FFC andi.l D0, 0x7FFC
00002104 2272 08FA movea.l A1, [A2 + D0 - 0x6]
00002108 2288 move.l [A1], A0
0000210A 3012 move.w D0, [A2]
0000210C 0280 0000 7FFC andi.l D0, 0x7FFC
00002112 204A movea.l A0, A2
00002114 D1C0 add.l A0, D0
00002116 2448 movea.l A2, A0
00002118 B1CB cmpa.l A0, A3
0000211A 65DC bcs -0x22 /* 000020F8 */
0000211C 204B movea.l A0, A3
label0000211E:
0000211E 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00002122 4E5E unlink A6
00002124 4E75 rts
fn00002126:
00002126 4E56 0000 link A6, 0
0000212A 48E7 1820 movem.l -[A7], D3,D4,A2
0000212E 246E 0008 movea.l A2, [A6 + 0x8]
00002132 282E 000C move.l D4, [A6 + 0xC]
00002136 262E 0010 move.l D3, [A6 + 0x10]
0000213A 7000 moveq.l D0, 0x00
0000213C 302A 002A move.w D0, [A2 + 0x2A]
00002140 B680 cmp.l D3, D0
00002142 6212 bhi +0x14 /* 00002156 */
00002144 3F03 move.w -[A7], D3
00002146 2F04 move.l -[A7], D4
00002148 2F0A move.l -[A7], A2
0000214A 61FF FFFF F11E bsr -0xEE0 /* 0000126A */
00002150 4FEF 000A lea.l A7, [A7 + 0xA]
00002154 6010 bra +0x12 /* 00002166 */
label00002156:
00002156 2F03 move.l -[A7], D3
00002158 2F04 move.l -[A7], D4
0000215A 2F0A move.l -[A7], A2
0000215C 61FF FFFF EC1C bsr -0x13E2 /* 00000D7A */
00002162 4FEF 000C lea.l A7, [A7 + 0xC]
label00002166:
00002166 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000216A 4E5E unlink A6
0000216C 4E75 rts
0000216E 4E56 0000 link A6, 0
00002172 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00002176 286E 0008 movea.l A4, [A6 + 0x8]
0000217A 2A2E 000C move.l D5, [A6 + 0xC]
0000217E 262E 0010 move.l D3, [A6 + 0x10]
00002182 0C6C BEAD 0020 cmpi.w [A4 + 0x20], 0xBEAD
00002188 6714 beq +0x16 /* 0000219E */
0000218A 4878 000A push.l 0xA /* '\n' */
0000218E 42A7 clr.l -[A7]
00002190 61FF FFFF E472 bsr -0x1B8C /* 00000604 */
00002196 91C8 sub.l A0, A0
00002198 504F addq.w A7, 8
0000219A 6000 00A8 bra +0xAA /* 00002244 */
label0000219E:
0000219E 2803 move.l D4, D3
000021A0 4A83 tst.l D3
000021A2 6602 bne +0x4 /* 000021A6 */
000021A4 7601 moveq.l D3, 0x01
label000021A6:
000021A6 41F9 0000 1C18 lea.l A0, [0x00001C18]
000021AC 2948 0040 move.l [A4 + 0x40], A0
000021B0 41F9 0000 1EFE lea.l A0, [0x00001EFE]
000021B6 2948 0044 move.l [A4 + 0x44], A0
000021BA 5C83 addq.l D3, 6
000021BC 2F0C move.l -[A7], A4
000021BE 61FF FFFF F810 bsr -0x7EE /* 000019D0 */
000021C4 2448 movea.l A2, A0
000021C6 2008 move.l D0, A0
000021C8 4A80 tst.l D0
000021CA 584F addq.w A7, 4
000021CC 6712 beq +0x14 /* 000021E0 */
000021CE 2F03 move.l -[A7], D3
000021D0 2F05 move.l -[A7], D5
000021D2 2F0C move.l -[A7], A4
000021D4 61FF FFFF FF50 bsr -0xAE /* 00002126 */
000021DA 2648 movea.l A3, A0
000021DC 4FEF 000C lea.l A7, [A7 + 0xC]
label000021E0:
000021E0 200A move.l D0, A2
000021E2 6604 bne +0x6 /* 000021E8 */
000021E4 91C8 sub.l A0, A0
000021E6 605C bra +0x5E /* 00002244 */
label000021E8:
000021E8 200B move.l D0, A3
000021EA 6610 bne +0x12 /* 000021FC */
000021EC 2F0A move.l -[A7], A2
000021EE 2F0C move.l -[A7], A4
000021F0 61FF FFFF FA0A bsr -0x5F4 /* 00001BFC */
000021F6 91C8 sub.l A0, A0
000021F8 504F addq.w A7, 8
000021FA 6048 bra +0x4A /* 00002244 */
label000021FC:
000021FC 248B move.l [A2], A3
000021FE 7002 moveq.l D0, 0x02
00002200 C085 and.l D0, D5
00002202 4A80 tst.l D0
00002204 6604 bne +0x6 /* 0000220A */
00002206 7001 moveq.l D0, 0x01
00002208 6002 bra +0x4 /* 0000220C */
label0000220A:
0000220A 7000 moveq.l D0, 0x00
label0000220C:
0000220C 3540 0008 move.w [A2 + 0x8], D0
00002210 206B FFFC movea.l A0, [A3 - 0x4]
00002214 3028 000E move.w D0, [A0 + 0xE]
00002218 7207 moveq.l D1, 0x07
0000221A C081 and.l D0, D1
0000221C 5740 subq.w D0, 3
0000221E 660A bne +0xC /* 0000222A */
00002220 206B FFFC movea.l A0, [A3 - 0x4]
00002224 214A 0010 move.l [A0 + 0x10], A2
00002228 6014 bra +0x16 /* 0000223E */
label0000222A:
0000222A 284B movea.l A4, A3
0000222C 5D8C subq.l A4, 6
0000222E 3014 move.w D0, [A4]
00002230 0280 0000 7FFC andi.l D0, 0x7FFC
00002236 298A 08FA move.l [A4 + D0 - 0x6], A2
0000223A 0054 8000 ori.w [A4], 0x8000
label0000223E:
0000223E 2544 0004 move.l [A2 + 0x4], D4
00002242 204A movea.l A0, A2
label00002244:
00002244 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00002248 4E5E unlink A6
0000224A 4E75 rts
0000224C 4E56 FFF8 link A6, -0x0008
00002250 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002254 246E 0008 movea.l A2, [A6 + 0x8]
00002258 2A2E 000C move.l D5, [A6 + 0xC]
0000225C 282E 0010 move.l D4, [A6 + 0x10]
00002260 2D52 FFFC move.l [A6 - 0x4], [A2]
00002264 206E FFFC movea.l A0, [A6 - 0x4]
00002268 2668 FFFC movea.l A3, [A0 - 0x4]
0000226C 7000 moveq.l D0, 0x00
0000226E 302B 000E move.w D0, [A3 + 0xE]
00002272 0280 0000 FFF8 andi.l D0, 0xFFF8
00002278 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
0000227E 6636 bne +0x38 /* 000022B6 */
00002280 302B 000E move.w D0, [A3 + 0xE]
00002284 7207 moveq.l D1, 0x07
00002286 C081 and.l D0, D1
00002288 5740 subq.w D0, 3
0000228A 671C beq +0x1E /* 000022A8 */
0000228C 206E FFFC movea.l A0, [A6 - 0x4]
00002290 3028 FFFA move.w D0, [A0 - 0x6]
00002294 0280 0000 8001 andi.l D0, 0x8001
0000229A 0C80 0000 8001 cmpi.l D0, 0x8001
000022A0 56C0 sne D0
000022A2 4400 neg.b D0
000022A4 49C0 lea.l A4, D0
000022A6 600A bra +0xC /* 000022B2 */
label000022A8:
000022A8 4AAB 0010 tst.l [A3 + 0x10]
000022AC 57C0 seq D0
000022AE 4400 neg.b D0
000022B0 49C0 lea.l A4, D0
label000022B2:
000022B2 4A80 tst.l D0
000022B4 6714 beq +0x16 /* 000022CA */
label000022B6:
000022B6 4878 000D push.l 0xD /* '\r' */
000022BA 42A7 clr.l -[A7]
000022BC 61FF FFFF E346 bsr -0x1CB8 /* 00000604 */
000022C2 91C8 sub.l A0, A0
000022C4 504F addq.w A7, 8
000022C6 6000 0170 bra +0x172 /* 00002438 */
label000022CA:
000022CA 2005 move.l D0, D5
000022CC 90AA 0004 sub.l D0, [A2 + 0x4]
000022D0 2D40 FFF8 move.l [A6 - 0x8], D0
000022D4 4A85 tst.l D5
000022D6 6602 bne +0x4 /* 000022DA */
000022D8 7A01 moveq.l D5, 0x01
label000022DA:
000022DA 5C85 addq.l D5, 6
000022DC 7008 moveq.l D0, 0x08
000022DE C084 and.l D0, D4
000022E0 4A80 tst.l D0
000022E2 660E bne +0x10 /* 000022F2 */
000022E4 7002 moveq.l D0, 0x02
000022E6 C084 and.l D0, D4
000022E8 4A80 tst.l D0
000022EA 660A bne +0xC /* 000022F6 */
000022EC 4A6A 0008 tst.w [A2 + 0x8]
000022F0 6704 beq +0x6 /* 000022F6 */
label000022F2:
000022F2 7000 moveq.l D0, 0x00
000022F4 6002 bra +0x4 /* 000022F8 */
label000022F6:
000022F6 7001 moveq.l D0, 0x01
label000022F8:
000022F8 2C00 move.l D6, D0
000022FA 362B 000E move.w D3, [A3 + 0xE]
000022FE 7207 moveq.l D1, 0x07
00002300 C681 and.l D3, D1
00002302 2F04 move.l -[A7], D4
00002304 2F05 move.l -[A7], D5
00002306 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000230A 4A86 tst.l D6
0000230C 6604 bne +0x6 /* 00002312 */
0000230E 91C8 sub.l A0, A0
00002310 6004 bra +0x6 /* 00002316 */
label00002312:
00002312 41EE FFFC lea.l A0, [A6 - 0x4]
label00002316:
00002316 4850 pea.l [A0]
00002318 61FF FFFF F33E bsr -0xCC0 /* 00001658 */
0000231E 3E00 move.w D7, D0
00002320 4A40 tst.w D0
00002322 4FEF 0010 lea.l A7, [A7 + 0x10]
00002326 670E beq +0x10 /* 00002336 */
00002328 2853 movea.l A4, [A3]
0000232A 0C43 0003 cmpi.w D3, 0x3
0000232E 6606 bne +0x8 /* 00002336 */
00002330 7600 moveq.l D3, 0x00
00002332 162B 0015 move.b D3, [A3 + 0x15]
label00002336:
00002336 4A47 tst.w D7
00002338 664A bne +0x4C /* 00002384 */
0000233A 4AAE FFFC tst.l [A6 - 0x4]
0000233E 6618 bne +0x1A /* 00002358 */
00002340 4A86 tst.l D6
00002342 660E bne +0x10 /* 00002352 */
00002344 4878 0005 push.l 0x5
00002348 2F13 move.l -[A7], [A3]
0000234A 61FF FFFF E2B8 bsr -0x1D46 /* 00000604 */
00002350 504F addq.w A7, 8
label00002352:
00002352 91C8 sub.l A0, A0
00002354 6000 00E2 bra +0xE4 /* 00002438 */
label00002358:
00002358 0C43 0003 cmpi.w D3, 0x3
0000235C 660E bne +0x10 /* 0000236C */
0000235E 4A86 tst.l D6
00002360 6700 00CC beq +0xCE /* 0000242E */
00002364 24AE FFFC move.l [A2], [A6 - 0x4]
00002368 6000 00C4 bra +0xC6 /* 0000242E */
label0000236C:
0000236C 206E FFFC movea.l A0, [A6 - 0x4]
00002370 3028 FFFA move.w D0, [A0 - 0x6]
00002374 0280 0000 7FFC andi.l D0, 0x7FFC
0000237A 5D88 subq.l A0, 6
0000237C 218A 08FA move.l [A0 + D0 - 0x6], A2
00002380 6000 00AC bra +0xAE /* 0000242E */
label00002384:
00002384 4A86 tst.l D6
00002386 6700 0094 beq +0x96 /* 0000241C */
0000238A 4A43 tst.w D3
0000238C 6606 bne +0x8 /* 00002394 */
0000238E 70FD moveq.l D0, 0xFFFFFFFD
00002390 C880 and.l D4, D0
00002392 6004 bra +0x6 /* 00002398 */
label00002394:
00002394 7002 moveq.l D0, 0x02
00002396 8880 or.l D4, D0
label00002398:
00002398 2F05 move.l -[A7], D5
0000239A 2F04 move.l -[A7], D4
0000239C 2F0C move.l -[A7], A4
0000239E 61FF FFFF FD86 bsr -0x278 /* 00002126 */
000023A4 2648 movea.l A3, A0
000023A6 200B move.l D0, A3
000023A8 4FEF 000C lea.l A7, [A7 + 0xC]
000023AC 6606 bne +0x8 /* 000023B4 */
000023AE 91C8 sub.l A0, A0
000023B0 6000 0086 bra +0x88 /* 00002438 */
label000023B4:
000023B4 2D52 FFFC move.l [A6 - 0x4], [A2]
000023B8 204B movea.l A0, A3
000023BA 226E FFFC movea.l A1, [A6 - 0x4]
000023BE 7200 moveq.l D1, 0x00
000023C0 3207 move.w D1, D7
000023C2 2008 move.l D0, A0
000023C4 4A81 tst.l D1
000023C6 6706 beq +0x8 /* 000023CE */
label000023C8:
000023C8 10D9 move.b [A0]+, [A1]+
000023CA 5381 subq.l D1, 1
000023CC 66FA bne -0x4 /* 000023C8 */
label000023CE:
000023CE 206B FFFC movea.l A0, [A3 - 0x4]
000023D2 3028 000E move.w D0, [A0 + 0xE]
000023D6 7207 moveq.l D1, 0x07
000023D8 C081 and.l D0, D1
000023DA 5740 subq.w D0, 3
000023DC 660A bne +0xC /* 000023E8 */
000023DE 206B FFFC movea.l A0, [A3 - 0x4]
000023E2 214A 0010 move.l [A0 + 0x10], A2
000023E6 6014 bra +0x16 /* 000023FC */
label000023E8:
000023E8 284B movea.l A4, A3
000023EA 5D8C subq.l A4, 6
000023EC 3014 move.w D0, [A4]
000023EE 0280 0000 7FFC andi.l D0, 0x7FFC
000023F4 298A 08FA move.l [A4 + D0 - 0x6], A2
000023F8 0054 8000 ori.w [A4], 0x8000
label000023FC:
000023FC 0C43 0003 cmpi.w D3, 0x3
00002400 670A beq +0xC /* 0000240C */
00002402 206E FFFC movea.l A0, [A6 - 0x4]
00002406 0268 7FFF FFFA andi.w [A0 - 0x6], 0x7FFF
label0000240C:
0000240C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002410 61FF FFFF F112 bsr -0xEEC /* 00001524 */
00002416 248B move.l [A2], A3
00002418 584F addq.w A7, 4
0000241A 6012 bra +0x14 /* 0000242E */
label0000241C:
0000241C 4878 0005 push.l 0x5
00002420 2F0C move.l -[A7], A4
00002422 61FF FFFF E1E0 bsr -0x1E1E /* 00000604 */
00002428 91C8 sub.l A0, A0
0000242A 504F addq.w A7, 8
0000242C 600A bra +0xC /* 00002438 */
label0000242E:
0000242E 202E FFF8 move.l D0, [A6 - 0x8]
00002432 D1AA 0004 add.l [A2 + 0x4], D0
00002436 204A movea.l A0, A2
label00002438:
00002438 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
0000243C 4E5E unlink A6
0000243E 4E75 rts
00002440 4E56 0000 link A6, 0
00002444 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002448 262E 0008 move.l D3, [A6 + 0x8]
0000244C 2043 movea.l A0, D3
0000244E 2650 movea.l A3, [A0]
00002450 246B FFFC movea.l A2, [A3 - 0x4]
00002454 7000 moveq.l D0, 0x00
00002456 302A 000E move.w D0, [A2 + 0xE]
0000245A 0280 0000 FFF8 andi.l D0, 0xFFF8
00002460 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
00002466 6632 bne +0x34 /* 0000249A */
00002468 302A 000E move.w D0, [A2 + 0xE]
0000246C 7207 moveq.l D1, 0x07
0000246E C081 and.l D0, D1
00002470 5740 subq.w D0, 3
00002472 6718 beq +0x1A /* 0000248C */
00002474 302B FFFA move.w D0, [A3 - 0x6]
00002478 0280 0000 8001 andi.l D0, 0x8001
0000247E 0C80 0000 8001 cmpi.l D0, 0x8001
00002484 56C0 sne D0
00002486 4400 neg.b D0
00002488 49C0 lea.l A4, D0
0000248A 600A bra +0xC /* 00002496 */
label0000248C:
0000248C 4AAA 0010 tst.l [A2 + 0x10]
00002490 57C0 seq D0
00002492 4400 neg.b D0
00002494 49C0 lea.l A4, D0
label00002496:
00002496 4A80 tst.l D0
00002498 6712 beq +0x14 /* 000024AC */
label0000249A:
0000249A 4878 000D push.l 0xD /* '\r' */
0000249E 42A7 clr.l -[A7]
000024A0 61FF FFFF E162 bsr -0x1E9C /* 00000604 */
000024A6 7000 moveq.l D0, 0x00
000024A8 504F addq.w A7, 8
000024AA 602C bra +0x2E /* 000024D8 */
label000024AC:
000024AC 302A 000E move.w D0, [A2 + 0xE]
000024B0 7207 moveq.l D1, 0x07
000024B2 C081 and.l D0, D1
000024B4 5740 subq.w D0, 3
000024B6 6706 beq +0x8 /* 000024BE */
000024B8 026B 7FFF FFFA andi.w [A3 - 0x6], 0x7FFF
label000024BE:
000024BE 2852 movea.l A4, [A2]
000024C0 2F0B move.l -[A7], A3
000024C2 206A 0008 movea.l A0, [A2 + 0x8]
000024C6 4E90 jsr [A0]
000024C8 2F03 move.l -[A7], D3
000024CA 2F0C move.l -[A7], A4
000024CC 61FF FFFF F72E bsr -0x8D0 /* 00001BFC */
000024D2 7001 moveq.l D0, 0x01
000024D4 4FEF 000C lea.l A7, [A7 + 0xC]
label000024D8:
000024D8 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000024DC 4E5E unlink A6
000024DE 4E75 rts
000024E0 4E56 0000 link A6, 0
000024E4 48E7 0038 movem.l -[A7], A2,A3,A4
000024E8 286E 0008 movea.l A4, [A6 + 0x8]
000024EC 2654 movea.l A3, [A4]
000024EE 246B FFFC movea.l A2, [A3 - 0x4]
000024F2 7000 moveq.l D0, 0x00
000024F4 302A 000E move.w D0, [A2 + 0xE]
000024F8 0280 0000 FFF8 andi.l D0, 0xFFF8
000024FE 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
00002504 6632 bne +0x34 /* 00002538 */
00002506 302A 000E move.w D0, [A2 + 0xE]
0000250A 7207 moveq.l D1, 0x07
0000250C C081 and.l D0, D1
0000250E 5740 subq.w D0, 3
00002510 6718 beq +0x1A /* 0000252A */
00002512 302B FFFA move.w D0, [A3 - 0x6]
00002516 0280 0000 8001 andi.l D0, 0x8001
0000251C 0C80 0000 8001 cmpi.l D0, 0x8001
00002522 56C0 sne D0
00002524 4400 neg.b D0
00002526 49C0 lea.l A4, D0
00002528 600A bra +0xC /* 00002534 */
label0000252A:
0000252A 4AAA 0010 tst.l [A2 + 0x10]
0000252E 57C0 seq D0
00002530 4400 neg.b D0
00002532 49C0 lea.l A4, D0
label00002534:
00002534 4A80 tst.l D0
00002536 6716 beq +0x18 /* 0000254E */
label00002538:
00002538 4878 000D push.l 0xD /* '\r' */
0000253C 42A7 clr.l -[A7]
0000253E 61FF FFFF E0C4 bsr -0x1F3A /* 00000604 */
00002544 203C 0000 FFFF move.l D0, 0xFFFF
0000254A 504F addq.w A7, 8
0000254C 6006 bra +0x8 /* 00002554 */
label0000254E:
0000254E 7000 moveq.l D0, 0x00
00002550 302C 0008 move.w D0, [A4 + 0x8]
label00002554:
00002554 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00002558 4E5E unlink A6
0000255A 4E75 rts
0000255C 4E56 0000 link A6, 0
00002560 48E7 0030 movem.l -[A7], A2,A3
00002564 206E 0008 movea.l A0, [A6 + 0x8]
00002568 2650 movea.l A3, [A0]
0000256A 246B FFFC movea.l A2, [A3 - 0x4]
0000256E 7000 moveq.l D0, 0x00
00002570 302A 000E move.w D0, [A2 + 0xE]
00002574 0280 0000 FFF8 andi.l D0, 0xFFF8
0000257A 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
00002580 6632 bne +0x34 /* 000025B4 */
00002582 302A 000E move.w D0, [A2 + 0xE]
00002586 7207 moveq.l D1, 0x07
00002588 C081 and.l D0, D1
0000258A 5740 subq.w D0, 3
0000258C 6718 beq +0x1A /* 000025A6 */
0000258E 302B FFFA move.w D0, [A3 - 0x6]
00002592 0280 0000 8001 andi.l D0, 0x8001
00002598 0C80 0000 8001 cmpi.l D0, 0x8001
0000259E 56C0 sne D0
000025A0 4400 neg.b D0
000025A2 49C0 lea.l A4, D0
000025A4 600A bra +0xC /* 000025B0 */
label000025A6:
000025A6 4AAA 0010 tst.l [A2 + 0x10]
000025AA 57C0 seq D0
000025AC 4400 neg.b D0
000025AE 49C0 lea.l A4, D0
label000025B0:
000025B0 4A80 tst.l D0
000025B2 6712 beq +0x14 /* 000025C6 */
label000025B4:
000025B4 4878 000D push.l 0xD /* '\r' */
000025B8 42A7 clr.l -[A7]
000025BA 61FF FFFF E048 bsr -0x1FB6 /* 00000604 */
000025C0 7000 moveq.l D0, 0x00
000025C2 504F addq.w A7, 8
000025C4 6030 bra +0x32 /* 000025F6 */
label000025C6:
000025C6 302A 000E move.w D0, [A2 + 0xE]
000025CA 7207 moveq.l D1, 0x07
000025CC C081 and.l D0, D1
000025CE 7200 moveq.l D1, 0x00
000025D0 3200 move.w D1, D0
000025D2 670A beq +0xC /* 000025DE */
000025D4 5581 subq.l D1, 2
000025D6 670A beq +0xC /* 000025E2 */
000025D8 5381 subq.l D1, 1
000025DA 670A beq +0xC /* 000025E6 */
000025DC 6016 bra +0x18 /* 000025F4 */
label000025DE:
000025DE 7000 moveq.l D0, 0x00
000025E0 6014 bra +0x16 /* 000025F6 */
label000025E2:
000025E2 7001 moveq.l D0, 0x01
000025E4 6010 bra +0x12 /* 000025F6 */
label000025E6:
000025E6 0C2A 0002 0015 cmpi.b [A2 + 0x15], 0x2
000025EC 57C0 seq D0
000025EE 4400 neg.b D0
000025F0 49C0 lea.l A4, D0
000025F2 6002 bra +0x4 /* 000025F6 */
label000025F4:
000025F4 7000 moveq.l D0, 0x00
label000025F6:
000025F6 4CDF 0C00 movem.l A2,A3, [A7]+
000025FA 4E5E unlink A6
000025FC 4E75 rts
000025FE 4E56 0000 link A6, 0
00002602 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002606 286E 0008 movea.l A4, [A6 + 0x8]
0000260A 2654 movea.l A3, [A4]
0000260C 246B FFFC movea.l A2, [A3 - 0x4]
00002610 7000 moveq.l D0, 0x00
00002612 302A 000E move.w D0, [A2 + 0xE]
00002616 0280 0000 FFF8 andi.l D0, 0xFFF8
0000261C 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
00002622 6632 bne +0x34 /* 00002656 */
00002624 302A 000E move.w D0, [A2 + 0xE]
00002628 7207 moveq.l D1, 0x07
0000262A C081 and.l D0, D1
0000262C 5740 subq.w D0, 3
0000262E 6718 beq +0x1A /* 00002648 */
00002630 302B FFFA move.w D0, [A3 - 0x6]
00002634 0280 0000 8001 andi.l D0, 0x8001
0000263A 0C80 0000 8001 cmpi.l D0, 0x8001
00002640 56C0 sne D0
00002642 4400 neg.b D0
00002644 49C0 lea.l A4, D0
00002646 600A bra +0xC /* 00002652 */
label00002648:
00002648 4AAA 0010 tst.l [A2 + 0x10]
0000264C 57C0 seq D0
0000264E 4400 neg.b D0
00002650 49C0 lea.l A4, D0
label00002652:
00002652 4A80 tst.l D0
00002654 6712 beq +0x14 /* 00002668 */
label00002656:
00002656 4878 000D push.l 0xD /* '\r' */
0000265A 42A7 clr.l -[A7]
0000265C 61FF FFFF DFA6 bsr -0x2058 /* 00000604 */
00002662 91C8 sub.l A0, A0
00002664 504F addq.w A7, 8
00002666 6048 bra +0x4A /* 000026B0 */
label00002668:
00002668 362A 000E move.w D3, [A2 + 0xE]
0000266C 7207 moveq.l D1, 0x07
0000266E C681 and.l D3, D1
00002670 4A43 tst.w D3
00002672 6714 beq +0x16 /* 00002688 */
00002674 0C43 0003 cmpi.w D3, 0x3
00002678 6606 bne +0x8 /* 00002680 */
0000267A 4A2A 0015 tst.b [A2 + 0x15]
0000267E 6708 beq +0xA /* 00002688 */
label00002680:
00002680 0C6C 00FF 0008 cmpi.w [A4 + 0x8], 0xFF
00002686 6512 bcs +0x14 /* 0000269A */
label00002688:
00002688 4878 0006 push.l 0x6
0000268C 2F12 move.l -[A7], [A2]
0000268E 61FF FFFF DF74 bsr -0x208A /* 00000604 */
00002694 91C8 sub.l A0, A0
00002696 504F addq.w A7, 8
00002698 6016 bra +0x18 /* 000026B0 */
label0000269A:
0000269A 302C 0008 move.w D0, [A4 + 0x8]
0000269E 526C 0008 addq.w [A4 + 0x8], 1
000026A2 4A40 tst.w D0
000026A4 6608 bne +0xA /* 000026AE */
000026A6 206A 0004 movea.l A0, [A2 + 0x4]
000026AA 5268 0002 addq.w [A0 + 0x2], 1
label000026AE:
000026AE 204B movea.l A0, A3
label000026B0:
000026B0 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000026B4 4E5E unlink A6
000026B6 4E75 rts
000026B8 4E56 0000 link A6, 0
000026BC 48E7 1038 movem.l -[A7], D3,A2,A3,A4
000026C0 266E 0008 movea.l A3, [A6 + 0x8]
000026C4 2853 movea.l A4, [A3]
000026C6 246C FFFC movea.l A2, [A4 - 0x4]
000026CA 7000 moveq.l D0, 0x00
000026CC 302A 000E move.w D0, [A2 + 0xE]
000026D0 0280 0000 FFF8 andi.l D0, 0xFFF8
000026D6 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
000026DC 6632 bne +0x34 /* 00002710 */
000026DE 302A 000E move.w D0, [A2 + 0xE]
000026E2 7207 moveq.l D1, 0x07
000026E4 C081 and.l D0, D1
000026E6 5740 subq.w D0, 3
000026E8 6718 beq +0x1A /* 00002702 */
000026EA 302C FFFA move.w D0, [A4 - 0x6]
000026EE 0280 0000 8001 andi.l D0, 0x8001
000026F4 0C80 0000 8001 cmpi.l D0, 0x8001
000026FA 56C0 sne D0
000026FC 4400 neg.b D0
000026FE 49C0 lea.l A4, D0
00002700 600A bra +0xC /* 0000270C */
label00002702:
00002702 4AAA 0010 tst.l [A2 + 0x10]
00002706 57C0 seq D0
00002708 4400 neg.b D0
0000270A 49C0 lea.l A4, D0
label0000270C:
0000270C 4A80 tst.l D0
0000270E 6716 beq +0x18 /* 00002726 */
label00002710:
00002710 4878 000D push.l 0xD /* '\r' */
00002714 42A7 clr.l -[A7]
00002716 61FF FFFF DEEC bsr -0x2112 /* 00000604 */
0000271C 203C 0000 FFFF move.l D0, 0xFFFF
00002722 504F addq.w A7, 8
00002724 604C bra +0x4E /* 00002772 */
label00002726:
00002726 362A 000E move.w D3, [A2 + 0xE]
0000272A 7207 moveq.l D1, 0x07
0000272C C681 and.l D3, D1
0000272E 4A43 tst.w D3
00002730 6712 beq +0x14 /* 00002744 */
00002732 0C43 0003 cmpi.w D3, 0x3
00002736 6606 bne +0x8 /* 0000273E */
00002738 4A2A 0015 tst.b [A2 + 0x15]
0000273C 6706 beq +0x8 /* 00002744 */
label0000273E:
0000273E 4A6B 0008 tst.w [A3 + 0x8]
00002742 6616 bne +0x18 /* 0000275A */
label00002744:
00002744 4878 0006 push.l 0x6
00002748 2F12 move.l -[A7], [A2]
0000274A 61FF FFFF DEB8 bsr -0x2146 /* 00000604 */
00002750 203C 0000 FFFF move.l D0, 0xFFFF
00002756 504F addq.w A7, 8
00002758 6018 bra +0x1A /* 00002772 */
label0000275A:
0000275A 536B 0008 subq.w [A3 + 0x8], 1
0000275E 4A6B 0008 tst.w [A3 + 0x8]
00002762 6608 bne +0xA /* 0000276C */
00002764 206A 0004 movea.l A0, [A2 + 0x4]
00002768 5368 0002 subq.w [A0 + 0x2], 1
label0000276C:
0000276C 7000 moveq.l D0, 0x00
0000276E 302B 0008 move.w D0, [A3 + 0x8]
label00002772:
00002772 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002776 4E5E unlink A6
00002778 4E75 rts
0000277A 4E56 0000 link A6, 0
0000277E 48E7 0038 movem.l -[A7], A2,A3,A4
00002782 286E 0008 movea.l A4, [A6 + 0x8]
00002786 2654 movea.l A3, [A4]
00002788 246B FFFC movea.l A2, [A3 - 0x4]
0000278C 7000 moveq.l D0, 0x00
0000278E 302A 000E move.w D0, [A2 + 0xE]
00002792 0280 0000 FFF8 andi.l D0, 0xFFF8
00002798 0C80 0000 CAD0 cmpi.l D0, 0xCAD0
0000279E 6632 bne +0x34 /* 000027D2 */
000027A0 302A 000E move.w D0, [A2 + 0xE]
000027A4 7207 moveq.l D1, 0x07
000027A6 C081 and.l D0, D1
000027A8 5740 subq.w D0, 3
000027AA 6718 beq +0x1A /* 000027C4 */
000027AC 302B FFFA move.w D0, [A3 - 0x6]
000027B0 0280 0000 8001 andi.l D0, 0x8001
000027B6 0C80 0000 8001 cmpi.l D0, 0x8001
000027BC 56C0 sne D0
000027BE 4400 neg.b D0
000027C0 49C0 lea.l A4, D0
000027C2 600A bra +0xC /* 000027CE */
label000027C4:
000027C4 4AAA 0010 tst.l [A2 + 0x10]
000027C8 57C0 seq D0
000027CA 4400 neg.b D0
000027CC 49C0 lea.l A4, D0
label000027CE:
000027CE 4A80 tst.l D0
000027D0 6712 beq +0x14 /* 000027E4 */
label000027D2:
000027D2 4878 000D push.l 0xD /* '\r' */
000027D6 42A7 clr.l -[A7]
000027D8 61FF FFFF DE2A bsr -0x21D4 /* 00000604 */
000027DE 70FF moveq.l D0, 0xFFFFFFFF
000027E0 504F addq.w A7, 8
000027E2 6004 bra +0x6 /* 000027E8 */
label000027E4:
000027E4 202C 0004 move.l D0, [A4 + 0x4]
label000027E8:
000027E8 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000027EC 4E5E unlink A6
000027EE 4E75 rts
fn000027F0:
000027F0 4E56 FEFE link A6, -0x0102
000027F4 4AAE 000C tst.l [A6 + 0xC]
000027F8 6608 bne +0xA /* 00002802 */
000027FA 203C 0000 74B5 move.l D0, 0x74B5
00002800 6006 bra +0x8 /* 00002808 */
label00002802:
00002802 203C 0000 74B6 move.l D0, 0x74B6
label00002808:
00002808 3D40 FEFE move.w [A6 - 0x102], D0
0000280C 3F3C 0008 move.w -[A7], 0x8
00002810 A9C8 syscall SysBeep
00002812 41EE FF00 lea.l A0, [A6 - 0x100]
00002816 226E 0008 movea.l A1, [A6 + 0x8]
0000281A 2008 move.l D0, A0
label0000281C:
0000281C 10D9 move.b [A0]+, [A1]+
0000281E 66FC bne -0x2 /* 0000281C */
00002820 594F subq.w A7, 4
00002822 486E FF00 pea.l [A6 - 0x100]
00002826 61FF 0000 0ADC bsr +0xADE /* 00003304 */
0000282C 205F movea.l A0, [A7]+
0000282E 2F08 move.l -[A7], A0
00002830 486D 9645 pea.l [A5 - 0x69BB]
00002834 486D 9645 pea.l [A5 - 0x69BB]
00002838 486D 9645 pea.l [A5 - 0x69BB]
0000283C A98B syscall ParamText
0000283E 554F subq.w A7, 2
00002840 3F2E FEFE move.w -[A7], [A6 - 0x102]
00002844 42A7 clr.l -[A7]
00002846 A986 syscall StopAlert
00002848 301F move.w D0, [A7]+
0000284A 48C0 ext.l D0
0000284C 0C80 0000 0005 cmpi.l D0, 0x5
00002852 6222 bhi +0x24 /* 00002876 */
00002854 303B 0206 move.w D0, [PC + D0.w * 2 + 0x6]
00002858 4EFB 0002 jmp [PC + D0.w + 0x2]
0000285C 001A 0016 ori.b [A2]+, 0x16
00002860 000C 000C ori.b A4, 0xC
00002864 0012 0012 ori.b [A2], 0x12
00002868 61FF 0000 1516 bsr +0x1518 /* 00003D80 */
0000286E 7000 moveq.l D0, 0x00
00002870 600C bra +0xE /* 0000287E */
00002872 7001 moveq.l D0, 0x01
00002874 6008 bra +0xA /* 0000287E */
label00002876:
00002876 3F3C 0010 move.w -[A7], 0x10
0000287A A9C8 syscall SysBeep
0000287C 7000 moveq.l D0, 0x00
label0000287E:
0000287E 4E5E unlink A6
00002880 4E75 rts
00002882 4E56 0000 link A6, 0
00002886 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000288A 42A7 clr.l -[A7]
0000288C 3F3C 0010 move.w -[A7], 0x10
00002890 61FF 0000 0008 bsr +0xA /* 0000289A */
00002896 4E5E unlink A6
00002898 4E75 rts
fn0000289A:
0000289A 4E56 0000 link A6, 0
0000289E 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
000028A2 3C2E 0008 move.w D6, [A6 + 0x8]
000028A6 2A2E 000A move.l D5, [A6 + 0xA]
000028AA 282E 000E move.l D4, [A6 + 0xE]
000028AE 47ED 9646 lea.l A3, [A5 - 0x69BA]
000028B2 200B move.l D0, A3
000028B4 6606 bne +0x8 /* 000028BC */
000028B6 91C8 sub.l A0, A0
000028B8 6000 00EA bra +0xEC /* 000029A4 */
label000028BC:
000028BC 2004 move.l D0, D4
000028BE 0080 0000 1000 ori.l D0, 0x1000
000028C4 2F00 move.l -[A7], D0
000028C6 4878 1000 push.l 0x1000
000028CA 61FF 0000 0240 bsr +0x242 /* 00002B0C */
000028D0 2448 movea.l A2, A0
000028D2 2008 move.l D0, A0
000028D4 4A80 tst.l D0
000028D6 504F addq.w A7, 8
000028D8 6612 bne +0x14 /* 000028EC */
000028DA 4878 0002 push.l 0x2
000028DE 42A7 clr.l -[A7]
000028E0 61FF FFFF DD22 bsr -0x22DC /* 00000604 */
000028E6 4A80 tst.l D0
000028E8 504F addq.w A7, 8
000028EA 66D0 bne -0x2E /* 000028BC */
label000028EC:
000028EC 200A move.l D0, A2
000028EE 6606 bne +0x8 /* 000028F6 */
000028F0 91C8 sub.l A0, A0
000028F2 6000 00B0 bra +0xB2 /* 000029A4 */
label000028F6:
000028F6 7600 moveq.l D3, 0x00
000028F8 600A bra +0xC /* 00002904 */
label000028FA:
000028FA 7000 moveq.l D0, 0x00
000028FC 3003 move.w D0, D3
000028FE 42B2 0C00 clr.l [A2 + D0 * 4]
00002902 5243 addq.w D3, 1
label00002904:
00002904 0C43 0005 cmpi.w D3, 0x5
00002908 65F0 bcs -0xE /* 000028FA */
0000290A 42AA 0014 clr.l [A2 + 0x14]
0000290E 42AA 0018 clr.l [A2 + 0x18]
00002912 42AA 001C clr.l [A2 + 0x1C]
00002916 357C BEAD 0020 move.w [A2 + 0x20], 0xBEAD
0000291C 3544 0022 move.w [A2 + 0x22], D4
00002920 42AA 0024 clr.l [A2 + 0x24]
00002924 357C 4000 0028 move.w [A2 + 0x28], 0x4000 /* '@\0' */
0000292A 357C 1000 002A move.w [A2 + 0x2A], 0x1000
00002930 2F0A move.l -[A7], A2
00002932 61FF 0000 03BE bsr +0x3C0 /* 00002CF2 */
00002938 2540 002C move.l [A2 + 0x2C], D0
0000293C 42AA 0030 clr.l [A2 + 0x30]
00002940 70FE moveq.l D0, 0xFFFFFFFE
00002942 2540 0034 move.l [A2 + 0x34], D0
00002946 256B 0004 0038 move.l [A2 + 0x38], [A3 + 0x4]
0000294C 274A 0004 move.l [A3 + 0x4], A2
00002950 254B 003C move.l [A2 + 0x3C], A3
00002954 42AA 0040 clr.l [A2 + 0x40]
00002958 42AA 0044 clr.l [A2 + 0x44]
0000295C 42AA 0058 clr.l [A2 + 0x58]
00002960 42AA 0048 clr.l [A2 + 0x48]
00002964 3F06 move.w -[A7], D6
00002966 2F0A move.l -[A7], A2
00002968 61FF 0000 0042 bsr +0x44 /* 000029AC */
0000296E 4A80 tst.l D0
00002970 4FEF 000A lea.l A7, [A7 + 0xA]
00002974 660E bne +0x10 /* 00002984 */
00002976 2F0A move.l -[A7], A2
00002978 61FF 0000 00BC bsr +0xBE /* 00002A36 */
0000297E 91C8 sub.l A0, A0
00002980 584F addq.w A7, 4
00002982 6020 bra +0x22 /* 000029A4 */
label00002984:
00002984 4A85 tst.l D5
00002986 671A beq +0x1C /* 000029A2 */
00002988 4878 0001 push.l 0x1
0000298C 7000 moveq.l D0, 0x00
0000298E 3006 move.w D0, D6
00002990 4C05 0000 movem.w <none>, D5
00002994 2F00 move.l -[A7], D0
00002996 2F0A move.l -[A7], A2
00002998 61FF FFFF DE98 bsr -0x2166 /* 00000832 */
0000299E 4FEF 000C lea.l A7, [A7 + 0xC]
label000029A2:
000029A2 204A movea.l A0, A2
label000029A4:
000029A4 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
000029A8 4E5E unlink A6
000029AA 4E75 rts
fn000029AC:
000029AC 4E56 0000 link A6, 0
000029B0 48E7 1820 movem.l -[A7], D3,D4,A2
000029B4 246E 0008 movea.l A2, [A6 + 0x8]
000029B8 382E 000C move.w D4, [A6 + 0xC]
000029BC 4A44 tst.w D4
000029BE 6604 bne +0x6 /* 000029C4 */
000029C0 7000 moveq.l D0, 0x00
000029C2 6012 bra +0x14 /* 000029D6 */
label000029C4:
000029C4 7000 moveq.l D0, 0x00
000029C6 3004 move.w D0, D4
000029C8 5280 addq.l D0, 1
000029CA 0280 0000 FFFE andi.l D0, 0xFFFE
000029D0 7200 moveq.l D1, 0x00
000029D2 3200 move.w D1, D0
000029D4 2001 move.l D0, D1
label000029D6:
000029D6 2600 move.l D3, D0
000029D8 0C6A BEAD 0020 cmpi.w [A2 + 0x20], 0xBEAD
000029DE 6712 beq +0x14 /* 000029F2 */
000029E0 4878 000A push.l 0xA /* '\n' */
000029E4 42A7 clr.l -[A7]
000029E6 61FF FFFF DC1C bsr -0x23E2 /* 00000604 */
000029EC 7000 moveq.l D0, 0x00
000029EE 504F addq.w A7, 8
000029F0 603C bra +0x3E /* 00002A2E */
label000029F2:
000029F2 7000 moveq.l D0, 0x00
000029F4 3004 move.w D0, D4
000029F6 B680 cmp.l D3, D0
000029F8 6512 bcs +0x14 /* 00002A0C */
000029FA 7000 moveq.l D0, 0x00
000029FC 302A 0028 move.w D0, [A2 + 0x28]
00002A00 721E moveq.l D1, 0x1E
00002A02 9081 sub.l D0, D1
00002A04 7200 moveq.l D1, 0x00
00002A06 3200 move.w D1, D0
00002A08 B681 cmp.l D3, D1
00002A0A 6312 bls +0x14 /* 00002A1E */
label00002A0C:
00002A0C 4878 0003 push.l 0x3
00002A10 2F0A move.l -[A7], A2
00002A12 61FF FFFF DBF0 bsr -0x240E /* 00000604 */
00002A18 7000 moveq.l D0, 0x00
00002A1A 504F addq.w A7, 8
00002A1C 6010 bra +0x12 /* 00002A2E */
label00002A1E:
00002A1E 4AAA 0004 tst.l [A2 + 0x4]
00002A22 6608 bne +0xA /* 00002A2C */
00002A24 2543 0024 move.l [A2 + 0x24], D3
00002A28 7001 moveq.l D0, 0x01
00002A2A 6002 bra +0x4 /* 00002A2E */
label00002A2C:
00002A2C 7000 moveq.l D0, 0x00
label00002A2E:
00002A2E 4CDF 0418 movem.l D3,D4,A2, [A7]+
00002A32 4E5E unlink A6
00002A34 4E75 rts
fn00002A36:
00002A36 4E56 0000 link A6, 0
00002A3A 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002A3E 286E 0008 movea.l A4, [A6 + 0x8]
00002A42 7600 moveq.l D3, 0x00
00002A44 6032 bra +0x34 /* 00002A78 */
label00002A46:
00002A46 7000 moveq.l D0, 0x00
00002A48 3003 move.w D0, D3
00002A4A 2474 0C00 movea.l A2, [A4 + D0 * 4]
00002A4E 200A move.l D0, A2
00002A50 4A80 tst.l D0
00002A52 6722 beq +0x24 /* 00002A76 */
label00002A54:
00002A54 206A 000C movea.l A0, [A2 + 0xC]
00002A58 4268 000E clr.w [A0 + 0xE]
00002A5C 2F2A 000C move.l -[A7], [A2 + 0xC]
00002A60 61FF 0000 0122 bsr +0x124 /* 00002B84 */
00002A66 7000 moveq.l D0, 0x00
00002A68 3003 move.w D0, D3
00002A6A 246A 0004 movea.l A2, [A2 + 0x4]
00002A6E B5F4 0C00 cmpa.l A2, [A4 + D0 * 4]
00002A72 584F addq.w A7, 4
00002A74 66DE bne -0x20 /* 00002A54 */
label00002A76:
00002A76 5243 addq.w D3, 1
label00002A78:
00002A78 0C43 0005 cmpi.w D3, 0x5
00002A7C 65C8 bcs -0x36 /* 00002A46 */
00002A7E 246C 0048 movea.l A2, [A4 + 0x48]
00002A82 600E bra +0x10 /* 00002A92 */
label00002A84:
00002A84 2652 movea.l A3, [A2]
00002A86 2F0A move.l -[A7], A2
00002A88 61FF 0000 00FA bsr +0xFC /* 00002B84 */
00002A8E 244B movea.l A2, A3
00002A90 584F addq.w A7, 4
label00002A92:
00002A92 200A move.l D0, A2
00002A94 66EE bne -0x10 /* 00002A84 */
00002A96 246C 001C movea.l A2, [A4 + 0x1C]
00002A9A 600E bra +0x10 /* 00002AAA */
label00002A9C:
00002A9C 2652 movea.l A3, [A2]
00002A9E 2F0A move.l -[A7], A2
00002AA0 61FF 0000 00E2 bsr +0xE4 /* 00002B84 */
00002AA6 244B movea.l A2, A3
00002AA8 584F addq.w A7, 4
label00002AAA:
00002AAA 200A move.l D0, A2
00002AAC 66EE bne -0x10 /* 00002A9C */
00002AAE 2F0C move.l -[A7], A4
00002AB0 61FF 0000 03A8 bsr +0x3AA /* 00002E5A */
00002AB6 426C 0020 clr.w [A4 + 0x20]
00002ABA 2F0C move.l -[A7], A4
00002ABC 61FF 0000 00C6 bsr +0xC8 /* 00002B84 */
00002AC2 7001 moveq.l D0, 0x01
00002AC4 504F addq.w A7, 8
00002AC6 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002ACA 4E5E unlink A6
00002ACC 4E75 rts
00002ACE 4E56 0000 link A6, 0
00002AD2 2F0C move.l -[A7], A4
00002AD4 222E 0008 move.l D1, [A6 + 0x8]
00002AD8 286E 000C movea.l A4, [A6 + 0xC]
00002ADC 226E 0010 movea.l A1, [A6 + 0x10]
00002AE0 206E 0014 movea.l A0, [A6 + 0x14]
00002AE4 4A81 tst.l D1
00002AE6 6704 beq +0x6 /* 00002AEC */
00002AE8 2B41 8006 move.l [A5 - 0x7FFA], D1
label00002AEC:
00002AEC 200C move.l D0, A4
00002AEE 6704 beq +0x6 /* 00002AF4 */
00002AF0 2B4C 8002 move.l [A5 - 0x7FFE], A4
label00002AF4:
00002AF4 2009 move.l D0, A1
00002AF6 6704 beq +0x6 /* 00002AFC */
00002AF8 2B49 0208 move.l [A5 + 0x208], A1
label00002AFC:
00002AFC 2008 move.l D0, A0
00002AFE 6704 beq +0x6 /* 00002B04 */
00002B00 2B48 020C move.l [A5 + 0x20C], A0
label00002B04:
00002B04 7001 moveq.l D0, 0x01
00002B06 285F movea.l A4, [A7]+
00002B08 4E5E unlink A6
00002B0A 4E75 rts
fn00002B0C:
00002B0C 4E56 0000 link A6, 0
00002B10 48E7 1820 movem.l -[A7], D3,D4,A2
00002B14 262E 0008 move.l D3, [A6 + 0x8]
00002B18 282E 000C move.l D4, [A6 + 0xC]
00002B1C 2004 move.l D0, D4
00002B1E 0280 0000 1000 andi.l D0, 0x1000
00002B24 670E beq +0x10 /* 00002B34 */
00002B26 0C83 0000 FFFF cmpi.l D3, 0xFFFF
00002B2C 6506 bcs +0x8 /* 00002B34 */
00002B2E 263C 0000 FFFF move.l D3, 0xFFFF
label00002B34:
00002B34 4AAD 8006 tst.l [A5 - 0x7FFA]
00002B38 672E beq +0x30 /* 00002B68 */
00002B3A 2F03 move.l -[A7], D3
00002B3C 206D 8006 movea.l A0, [A5 - 0x7FFA]
00002B40 4E90 jsr [A0]
00002B42 2448 movea.l A2, A0
00002B44 2004 move.l D0, D4
00002B46 0280 0000 0100 andi.l D0, 0x100
00002B4C 584F addq.w A7, 4
00002B4E 6714 beq +0x16 /* 00002B64 */
00002B50 200A move.l D0, A2
00002B52 6710 beq +0x12 /* 00002B64 */
00002B54 2F03 move.l -[A7], D3
00002B56 42A7 clr.l -[A7]
00002B58 2F0A move.l -[A7], A2
00002B5A 61FF 0000 14B8 bsr +0x14BA /* 00004014 */
00002B60 4FEF 000C lea.l A7, [A7 + 0xC]
label00002B64:
00002B64 204A movea.l A0, A2
00002B66 6014 bra +0x16 /* 00002B7C */
label00002B68:
00002B68 2004 move.l D0, D4
00002B6A 0280 0000 0100 andi.l D0, 0x100
00002B70 6706 beq +0x8 /* 00002B78 */
00002B72 2003 move.l D0, D3
00002B74 A31E syscall NewPtrClear, flags=3
00002B76 6004 bra +0x6 /* 00002B7C */
label00002B78:
00002B78 2003 move.l D0, D3
00002B7A A11E syscall NewPtr, flags=1
label00002B7C:
00002B7C 4CDF 0418 movem.l D3,D4,A2, [A7]+
00002B80 4E5E unlink A6
00002B82 4E75 rts
fn00002B84:
00002B84 4E56 0000 link A6, 0
00002B88 4AAD 8002 tst.l [A5 - 0x7FFE]
00002B8C 670E beq +0x10 /* 00002B9C */
00002B8E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002B92 206D 8002 movea.l A0, [A5 - 0x7FFE]
00002B96 4E90 jsr [A0]
00002B98 584F addq.w A7, 4
00002B9A 6016 bra +0x18 /* 00002BB2 */
label00002B9C:
00002B9C 206E 0008 movea.l A0, [A6 + 0x8]
00002BA0 A01F syscall DisposPtr/DisposePtr
00002BA2 554F subq.w A7, 2
00002BA4 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00002BA8 301F move.w D0, [A7]+
00002BAA 4A40 tst.w D0
00002BAC 57C0 seq D0
00002BAE 4400 neg.b D0
00002BB0 49C0 lea.l A4, D0
label00002BB2:
00002BB2 4E5E unlink A6
00002BB4 4E75 rts
fn00002BB6:
00002BB6 4E56 0000 link A6, 0
00002BBA 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00002BBE 266E 0008 movea.l A3, [A6 + 0x8]
00002BC2 262E 000C move.l D3, [A6 + 0xC]
00002BC6 2A2E 0010 move.l D5, [A6 + 0x10]
00002BCA 2F05 move.l -[A7], D5
00002BCC 2F03 move.l -[A7], D3
00002BCE 2F0B move.l -[A7], A3
00002BD0 61FF 0000 008A bsr +0x8C /* 00002C5C */
00002BD6 4A80 tst.l D0
00002BD8 4FEF 000C lea.l A7, [A7 + 0xC]
00002BDC 6704 beq +0x6 /* 00002BE2 */
00002BDE 204B movea.l A0, A3
00002BE0 6072 bra +0x74 /* 00002C54 */
label00002BE2:
00002BE2 2005 move.l D0, D5
00002BE4 0280 FFFF FEFF andi.l D0, 0xFFFFFEFF
00002BEA 2F00 move.l -[A7], D0
00002BEC 2F03 move.l -[A7], D3
00002BEE 61FF FFFF FF1C bsr -0xE2 /* 00002B0C */
00002BF4 2448 movea.l A2, A0
00002BF6 2008 move.l D0, A0
00002BF8 4A80 tst.l D0
00002BFA 504F addq.w A7, 8
00002BFC 6754 beq +0x56 /* 00002C52 */
00002BFE 2F0B move.l -[A7], A3
00002C00 61FF 0000 00F0 bsr +0xF2 /* 00002CF2 */
00002C06 2800 move.l D4, D0
00002C08 2F0A move.l -[A7], A2
00002C0A 61FF 0000 00E6 bsr +0xE8 /* 00002CF2 */
00002C10 2600 move.l D3, D0
00002C12 B684 cmp.l D3, D4
00002C14 6504 bcs +0x6 /* 00002C1A */
00002C16 2004 move.l D0, D4
00002C18 6002 bra +0x4 /* 00002C1C */
label00002C1A:
00002C1A 2003 move.l D0, D3
label00002C1C:
00002C1C 204B movea.l A0, A3
00002C1E 224A movea.l A1, A2
00002C20 A02E syscall BlockMove/BlockMoveData
00002C22 2005 move.l D0, D5
00002C24 0280 0000 0100 andi.l D0, 0x100
00002C2A 504F addq.w A7, 8
00002C2C 671A beq +0x1C /* 00002C48 */
00002C2E B684 cmp.l D3, D4
00002C30 6316 bls +0x18 /* 00002C48 */
00002C32 2003 move.l D0, D3
00002C34 9084 sub.l D0, D4
00002C36 2F00 move.l -[A7], D0
00002C38 42A7 clr.l -[A7]
00002C3A 4872 4800 pea.l [A2 + D4]
00002C3E 61FF 0000 13D4 bsr +0x13D6 /* 00004014 */
00002C44 4FEF 000C lea.l A7, [A7 + 0xC]
label00002C48:
00002C48 2F0B move.l -[A7], A3
00002C4A 61FF FFFF FF38 bsr -0xC6 /* 00002B84 */
00002C50 584F addq.w A7, 4
label00002C52:
00002C52 204A movea.l A0, A2
label00002C54:
00002C54 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00002C58 4E5E unlink A6
00002C5A 4E75 rts
fn00002C5C:
00002C5C 4E56 0000 link A6, 0
00002C60 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00002C64 246E 0008 movea.l A2, [A6 + 0x8]
00002C68 262E 000C move.l D3, [A6 + 0xC]
00002C6C 2A2E 0010 move.l D5, [A6 + 0x10]
00002C70 2F0A move.l -[A7], A2
00002C72 61FF 0000 007E bsr +0x80 /* 00002CF2 */
00002C78 2800 move.l D4, D0
00002C7A 2005 move.l D0, D5
00002C7C 0280 0000 1000 andi.l D0, 0x1000
00002C82 584F addq.w A7, 4
00002C84 670E beq +0x10 /* 00002C94 */
00002C86 0C83 0000 FFFF cmpi.l D3, 0xFFFF
00002C8C 6506 bcs +0x8 /* 00002C94 */
00002C8E 263C 0000 FFFF move.l D3, 0xFFFF
label00002C94:
00002C94 4AAD 0208 tst.l [A5 + 0x208]
00002C98 6714 beq +0x16 /* 00002CAE */
00002C9A 2F03 move.l -[A7], D3
00002C9C 2F0A move.l -[A7], A2
00002C9E 206D 0208 movea.l A0, [A5 + 0x208]
00002CA2 4E90 jsr [A0]
00002CA4 4A80 tst.l D0
00002CA6 504F addq.w A7, 8
00002CA8 661A bne +0x1C /* 00002CC4 */
00002CAA 7000 moveq.l D0, 0x00
00002CAC 603C bra +0x3E /* 00002CEA */
label00002CAE:
00002CAE 204A movea.l A0, A2
00002CB0 2003 move.l D0, D3
00002CB2 A020 syscall SetPtrSize
00002CB4 554F subq.w A7, 2
00002CB6 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00002CBA 301F move.w D0, [A7]+
00002CBC 4A40 tst.w D0
00002CBE 6704 beq +0x6 /* 00002CC4 */
00002CC0 7000 moveq.l D0, 0x00
00002CC2 6026 bra +0x28 /* 00002CEA */
label00002CC4:
00002CC4 2005 move.l D0, D5
00002CC6 0280 0000 0100 andi.l D0, 0x100
00002CCC 671A beq +0x1C /* 00002CE8 */
00002CCE B684 cmp.l D3, D4
00002CD0 6316 bls +0x18 /* 00002CE8 */
00002CD2 2003 move.l D0, D3
00002CD4 9084 sub.l D0, D4
00002CD6 2F00 move.l -[A7], D0
00002CD8 42A7 clr.l -[A7]
00002CDA 4872 4800 pea.l [A2 + D4]
00002CDE 61FF 0000 1334 bsr +0x1336 /* 00004014 */
00002CE4 4FEF 000C lea.l A7, [A7 + 0xC]
label00002CE8:
00002CE8 7001 moveq.l D0, 0x01
label00002CEA:
00002CEA 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00002CEE 4E5E unlink A6
00002CF0 4E75 rts
fn00002CF2:
00002CF2 4E56 0000 link A6, 0
00002CF6 4AAD 020C tst.l [A5 + 0x20C]
00002CFA 670E beq +0x10 /* 00002D0A */
00002CFC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D00 206D 020C movea.l A0, [A5 + 0x20C]
00002D04 4E90 jsr [A0]
00002D06 584F addq.w A7, 4
00002D08 600E bra +0x10 /* 00002D18 */
label00002D0A:
00002D0A 594F subq.w A7, 4
00002D0C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D10 61FF 0000 03A6 bsr +0x3A8 /* 000030B8 */
00002D16 201F move.l D0, [A7]+
label00002D18:
00002D18 4E5E unlink A6
00002D1A 4E75 rts
fn00002D1C:
00002D1C 4E56 0000 link A6, 0
00002D20 2F0A move.l -[A7], A2
00002D22 246E 0008 movea.l A2, [A6 + 0x8]
00002D26 202E 0010 move.l D0, [A6 + 0x10]
00002D2A 0280 0000 8000 andi.l D0, 0x8000
00002D30 660C bne +0xE /* 00002D3E */
00002D32 7001 moveq.l D0, 0x01
00002D34 220A move.l D1, A2
00002D36 C280 and.l D1, D0
00002D38 6704 beq +0x6 /* 00002D3E */
00002D3A 7000 moveq.l D0, 0x00
00002D3C 6028 bra +0x2A /* 00002D66 */
label00002D3E:
00002D3E 70FF moveq.l D0, 0xFFFFFFFF
00002D40 90AE 000C sub.l D0, [A6 + 0xC]
00002D44 B08A cmp.l D0, A2
00002D46 6318 bls +0x1A /* 00002D60 */
00002D48 594F subq.w A7, 4
00002D4A 2EB8 02A6 move.l [A7], [0x000002A6 /* SysZone */]
00002D4E 205F movea.l A0, [A7]+
00002D50 B5C8 cmpa.l A2, A0
00002D52 630C bls +0xE /* 00002D60 */
00002D54 200A move.l D0, A2
00002D56 D0AE 000C add.l D0, [A6 + 0xC]
00002D5A B0B8 010C cmp.l D0, [0x0000010C /* BufPtr */]
00002D5E 6504 bcs +0x6 /* 00002D64 */
label00002D60:
00002D60 7000 moveq.l D0, 0x00
00002D62 6002 bra +0x4 /* 00002D66 */
label00002D64:
00002D64 7001 moveq.l D0, 0x01
label00002D66:
00002D66 245F movea.l A2, [A7]+
00002D68 4E5E unlink A6
00002D6A 4E75 rts
fn00002D6C:
00002D6C 4E56 0000 link A6, 0
00002D70 4AAE 0008 tst.l [A6 + 0x8]
00002D74 56C0 sne D0
00002D76 4400 neg.b D0
00002D78 49C0 lea.l A4, D0
00002D7A 4E5E unlink A6
00002D7C 4E75 rts
00002D7E 4E56 0000 link A6, 0
00002D82 2F0A move.l -[A7], A2
00002D84 45ED 9646 lea.l A2, [A5 - 0x69BA]
00002D88 200A move.l D0, A2
00002D8A 6704 beq +0x6 /* 00002D90 */
00002D8C 52AA 0008 addq.l [A2 + 0x8], 1
label00002D90:
00002D90 200A move.l D0, A2
00002D92 4A80 tst.l D0
00002D94 56C0 sne D0
00002D96 4400 neg.b D0
00002D98 49C0 lea.l A4, D0
00002D9A 245F movea.l A2, [A7]+
00002D9C 4E5E unlink A6
00002D9E 4E75 rts
00002DA0 4E56 0000 link A6, 0
00002DA4 2F0A move.l -[A7], A2
00002DA6 45ED 9646 lea.l A2, [A5 - 0x69BA]
00002DAA 200A move.l D0, A2
00002DAC 671E beq +0x20 /* 00002DCC */
00002DAE 4AAA 0008 tst.l [A2 + 0x8]
00002DB2 670A beq +0xC /* 00002DBE */
00002DB4 53AA 0008 subq.l [A2 + 0x8], 1
00002DB8 4AAA 0008 tst.l [A2 + 0x8]
00002DBC 660E bne +0x10 /* 00002DCC */
label00002DBE:
00002DBE 4878 0001 push.l 0x1
00002DC2 2F0A move.l -[A7], A2
00002DC4 61FF 0000 0016 bsr +0x18 /* 00002DDC */
00002DCA 504F addq.w A7, 8
label00002DCC:
00002DCC 200A move.l D0, A2
00002DCE 4A80 tst.l D0
00002DD0 56C0 sne D0
00002DD2 4400 neg.b D0
00002DD4 49C0 lea.l A4, D0
00002DD6 245F movea.l A2, [A7]+
00002DD8 4E5E unlink A6
00002DDA 4E75 rts
fn00002DDC:
00002DDC 4E56 0000 link A6, 0
00002DE0 2F0A move.l -[A7], A2
00002DE2 246E 0008 movea.l A2, [A6 + 0x8]
00002DE6 4AAE 000C tst.l [A6 + 0xC]
00002DEA 662E bne +0x30 /* 00002E1A */
00002DEC 42AA 0004 clr.l [A2 + 0x4]
00002DF0 6028 bra +0x2A /* 00002E1A */
label00002DF2:
00002DF2 2F2A 0004 move.l -[A7], [A2 + 0x4]
00002DF6 61FF 0000 002E bsr +0x30 /* 00002E26 */
00002DFC 4A80 tst.l D0
00002DFE 584F addq.w A7, 4
00002E00 670E beq +0x10 /* 00002E10 */
00002E02 2F2A 0004 move.l -[A7], [A2 + 0x4]
00002E06 61FF FFFF FC2E bsr -0x3D0 /* 00002A36 */
00002E0C 584F addq.w A7, 4
00002E0E 600A bra +0xC /* 00002E1A */
label00002E10:
00002E10 206A 0004 movea.l A0, [A2 + 0x4]
00002E14 2568 0038 0004 move.l [A2 + 0x4], [A0 + 0x38]
label00002E1A:
00002E1A 4AAA 0004 tst.l [A2 + 0x4]
00002E1E 66D2 bne -0x2C /* 00002DF2 */
00002E20 245F movea.l A2, [A7]+
00002E22 4E5E unlink A6
00002E24 4E75 rts
fn00002E26:
00002E26 4E56 0000 link A6, 0
00002E2A 4878 0102 push.l 0x102
00002E2E 4878 005C push.l 0x5C /* '\\' */
00002E32 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002E36 61FF FFFF FEE4 bsr -0x11A /* 00002D1C */
00002E3C 4A80 tst.l D0
00002E3E 4FEF 000C lea.l A7, [A7 + 0xC]
00002E42 670C beq +0xE /* 00002E50 */
00002E44 206E 0008 movea.l A0, [A6 + 0x8]
00002E48 0C68 BEAD 0020 cmpi.w [A0 + 0x20], 0xBEAD
00002E4E 6704 beq +0x6 /* 00002E54 */
label00002E50:
00002E50 7000 moveq.l D0, 0x00
00002E52 6002 bra +0x4 /* 00002E56 */
label00002E54:
00002E54 7001 moveq.l D0, 0x01
label00002E56:
00002E56 4E5E unlink A6
00002E58 4E75 rts
fn00002E5A:
00002E5A 4E56 0000 link A6, 0
00002E5E 48E7 0018 movem.l -[A7], A3,A4
00002E62 222E 0008 move.l D1, [A6 + 0x8]
00002E66 2041 movea.l A0, D1
00002E68 2868 003C movea.l A4, [A0 + 0x3C]
00002E6C 97CB sub.l A3, A3
00002E6E 226C 0004 movea.l A1, [A4 + 0x4]
00002E72 601E bra +0x20 /* 00002E92 */
label00002E74:
00002E74 B3C1 cmpa.l A1, D1
00002E76 6614 bne +0x16 /* 00002E8C */
00002E78 200B move.l D0, A3
00002E7A 6708 beq +0xA /* 00002E84 */
00002E7C 2769 0038 0038 move.l [A3 + 0x38], [A1 + 0x38]
00002E82 6006 bra +0x8 /* 00002E8A */
label00002E84:
00002E84 2969 0038 0004 move.l [A4 + 0x4], [A1 + 0x38]
label00002E8A:
00002E8A 600A bra +0xC /* 00002E96 */
label00002E8C:
00002E8C 2649 movea.l A3, A1
00002E8E 2269 0038 movea.l A1, [A1 + 0x38]
label00002E92:
00002E92 2009 move.l D0, A1
00002E94 66DE bne -0x20 /* 00002E74 */
label00002E96:
00002E96 4CDF 1800 movem.l A3,A4, [A7]+
00002E9A 4E5E unlink A6
00002E9C 4E75 rts
00002E9E 4E56 0000 link A6, 0
00002EA2 203C 0000 A89F move.l D0, 0xA89F
00002EA8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002EAA 2F08 move.l -[A7], A0
00002EAC 203C 0000 A0AD move.l D0, 0xA0AD
00002EB2 A346 syscall GetOSTrapAddress, flags=3
00002EB4 B1DF cmpa.l A0, [A7]+
00002EB6 670E beq +0x10 /* 00002EC6 */
00002EB8 202E 000C move.l D0, [A6 + 0xC]
00002EBC A1AD syscall Gestalt, flags=1
00002EBE 226E 0008 movea.l A1, [A6 + 0x8]
00002EC2 2288 move.l [A1], A0
00002EC4 6026 bra +0x28 /* 00002EEC */
label00002EC6:
00002EC6 41FA 0036 lea.l A0, [PC + 0x36 /* 00002EFE, value 0x76657273 'vers', cstring "vers" */]
00002ECA 303C EA51 move.w D0, 0xEA51
00002ECE 222E 000C move.l D1, [A6 + 0xC]
label00002ED2:
00002ED2 B298 cmp.l D1, [A0]+
00002ED4 6706 beq +0x8 /* 00002EDC */
00002ED6 4A98 tst.l [A0]+
00002ED8 6712 beq +0x14 /* 00002EEC */
00002EDA 60F6 bra -0x8 /* 00002ED2 */
label00002EDC:
00002EDC 43FA 0020 lea.l A1, [PC + 0x20 /* 00002EFE, value 0x76657273 'vers', cstring "vers" */]
00002EE0 D3D0 add.l A1, [A0]
00002EE2 4ED1 jmp [A1]
label00002EE4:
00002EE4 226E 0008 movea.l A1, [A6 + 0x8]
00002EE8 2280 move.l [A1], D0
00002EEA 4240 clr.w D0
label00002EEC:
00002EEC 3D40 0010 move.w [A6 + 0x10], D0
00002EF0 4E5E unlink A6
00002EF2 205F movea.l A0, [A7]+
00002EF4 508F addq.l A7, 8
00002EF6 4ED0 jmp [A0]
label00002EF8:
00002EF8 303C EA52 move.w D0, 0xEA52
00002EFC 60EE bra -0x10 /* 00002EEC */
00002EFE 7665 moveq.l D3, 0x65
00002F00 7273 moveq.l D1, 0x73
00002F02 0000 0060 ori.b D0, 0x60 /* '`' */
00002F06 6D61 blt +0x63 /* 00002F69 */
00002F08 6368 bls +0x6A /* 00002F72 */
00002F0A 0000 0064 ori.b D0, 0x64 /* 'd' */
00002F0E 7379 moveq.l D1, 0x79
00002F10 7376 moveq.l D1, 0x76
00002F12 0000 0088 ori.b D0, 0x88
00002F16 7072 moveq.l D0, 0x72
00002F18 6F63 ble +0x65 /* 00002F7D */
00002F1A 0000 0092 ori.b D0, 0x92
00002F1E 6670 bne +0x72 /* 00002F90 */
00002F20 7520 moveq.l D2, 0x20
00002F22 0000 009E ori.b D0, 0x9E
00002F26 7164 moveq.l D0, 0x64
00002F28 2020 move.l D0, -[A0]
00002F2A 0000 00E8 ori.b D0, 0xE8
00002F2E 6B62 bmi +0x64 /* 00002F92 */
00002F30 6420 bcc +0x22 /* 00002F52 */
00002F32 0000 011A ori.b D0, 0x1A
00002F36 6174 bsr +0x76 /* 00002FAC */
00002F38 6C6B bge +0x6D /* 00002FA5 */
00002F3A 0000 0142 ori.b D0, 0x42 /* 'B' */
00002F3E 6D6D blt +0x6F /* 00002FAD */
00002F40 7520 moveq.l D2, 0x20
00002F42 0000 0164 ori.b D0, 0x64 /* 'd' */
00002F46 7261 moveq.l D1, 0x61
00002F48 6D20 blt +0x22 /* 00002F6A */
00002F4A 0000 0188 ori.b D0, 0x88
00002F4E 6C72 bge +0x74 /* 00002FC2 */
00002F50 616D bsr +0x6F /* 00002FBF */
label00002F52:
00002F52 0000 0188 ori.b D0, 0x88
00002F56 0000 0000 ori.b D0, 0x0
00002F5A 0000 0000 ori.b D0, 0x0
00002F5E 7001 moveq.l D0, 0x01
00002F60 6082 bra -0x7C /* 00002EE4 */
00002F62 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00002F66 7004 moveq.l D0, 0x04
00002F68 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00002F6A-00002F72
label00002F6A:
00002F6A 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00002F6A-00002F72
label00002F6A: // (misaligned)
00002F6E 6712 beq +0x14 /* 00002F82 */
00002F70 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00002F72-00002F78
label00002F72:
00002F72 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00002F72-00002F78
label00002F72: // (misaligned)
00002F76 6604 bne +0x6 /* 00002F7C */
00002F78 5240 addq.w D0, 1
00002F7A 6006 bra +0x8 /* 00002F82 */
label00002F7C:
00002F7C 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00002F80 5C80 addq.l D0, 6
label00002F82:
00002F82 6000 FF60 bra -0x9E /* 00002EE4 */
00002F86 7000 moveq.l D0, 0x00
00002F88 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00002F8C 6000 FF56 bra -0xA8 /* 00002EE4 */
label00002F90:
00002F90 7000 moveq.l D0, 0x00
label00002F92:
00002F92 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00002F96 5240 addq.w D0, 1
00002F98 6000 FF4A bra -0xB4 /* 00002EE4 */
00002F9C 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00002FA2 6738 beq +0x3A /* 00002FDC */
00002FA4 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00002FAA 6734 beq +0x36 /* 00002FE0 */
fn00002FAC:
00002FAC 204F movea.l A0, A7
00002FAE F280 0000 fnop
00002FB2 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00002FB4 3017 move.w D0, [A7]
00002FB6 2E48 movea.l A7, A0
00002FB8 0C40 1F18 cmpi.w D0, 0x1F18
00002FBC 6716 beq +0x18 /* 00002FD4 */
00002FBE 0C40 3F18 cmpi.w D0, 0x3F18
label00002FC2:
00002FC2 6710 beq +0x12 /* 00002FD4 */
00002FC4 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00002FC8 670E beq +0x10 /* 00002FD8 */
00002FCA 0C40 1F38 cmpi.w D0, 0x1F38
00002FCE 6708 beq +0xA /* 00002FD8 */
00002FD0 7000 moveq.l D0, 0x00
00002FD2 600E bra +0x10 /* 00002FE2 */
label00002FD4:
00002FD4 7001 moveq.l D0, 0x01
00002FD6 600A bra +0xC /* 00002FE2 */
label00002FD8:
00002FD8 7002 moveq.l D0, 0x02
00002FDA 6006 bra +0x8 /* 00002FE2 */
label00002FDC:
00002FDC 7003 moveq.l D0, 0x03
00002FDE 6002 bra +0x4 /* 00002FE2 */
label00002FE0:
00002FE0 7000 moveq.l D0, 0x00
label00002FE2:
00002FE2 6000 FF00 bra -0xFE /* 00002EE4 */
00002FE6 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00002FEC 6E1C bgt +0x1E /* 0000300A */
00002FEE 303C A89F move.w D0, 0xA89F
00002FF2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002FF4 2408 move.l D2, A0
00002FF6 203C 0000 AB03 move.l D0, 0xAB03
00002FFC A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002FFE 203C 0000 0100 move.l D0, 0x100
00003004 B488 cmp.l D2, A0
00003006 6606 bne +0x8 /* 0000300E */
00003008 600A bra +0xC /* 00003014 */
label0000300A:
0000300A 7000 moveq.l D0, 0x00
0000300C 6006 bra +0x8 /* 00003014 */
label0000300E:
0000300E 203C 0000 0200 move.l D0, 0x200
label00003014:
00003014 6000 FECE bra -0x130 /* 00002EE4 */
00003018 1038 021E move.b D0, [0x0000021E /* KbdType */]
0000301C 41FA 0016 lea.l A0, [PC + 0x16 /* 00003034, value 0x3130B02 */]
00003020 2248 movea.l A1, A0
label00003022:
00003022 1218 move.b D1, [A0]+
00003024 6700 FED2 beq -0x12C /* 00002EF8 */
00003028 B200 cmp.b D1, D0
0000302A 66F6 bne -0x8 /* 00003022 */
0000302C 91C9 sub.l A0, A1
0000302E 2008 move.l D0, A0
00003030 6000 FEB2 bra -0x14C /* 00002EE4 */
00003034 0313 btst [A3], D1
00003036 0B02 btst D2, D5
00003038 0106 btst D6, D0
0000303A 0704 btst D4, D3
0000303C 0508 btst A0, D2
0000303E 0900 btst D0, D4
00003040 7000 moveq.l D0, 0x00
00003042 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00003046 6B16 bmi +0x18 /* 0000305E */
00003048 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
0000304C 0201 000F andi.b D1, 0xF
00003050 0C01 0001 cmpi.b D1, 0x1
00003054 6608 bne +0xA /* 0000305E */
00003056 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
0000305A 1028 0007 move.b D0, [A0 + 0x7]
label0000305E:
0000305E 6000 FE84 bra -0x17A /* 00002EE4 */
00003062 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00003068 6D16 blt +0x18 /* 00003080 */
0000306A 7000 moveq.l D0, 0x00
0000306C 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00003070 0C00 0001 cmpi.b D0, 0x1
00003074 670C beq +0xE /* 00003082 */
00003076 0C00 0003 cmpi.b D0, 0x3
0000307A 6D04 blt +0x6 /* 00003080 */
0000307C 5340 subq.w D0, 1
0000307E 6002 bra +0x4 /* 00003082 */
label00003080:
00003080 7000 moveq.l D0, 0x00
label00003082:
00003082 6000 FE60 bra -0x19E /* 00002EE4 */
00003086 303C A89F move.w D0, 0xA89F
0000308A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000308C 2408 move.l D2, A0
0000308E 203C 0000 A88F move.l D0, 0xA88F
00003094 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00003096 2038 0108 move.l D0, [0x00000108 /* MemTop */]
0000309A B488 cmp.l D2, A0
0000309C 670A beq +0xC /* 000030A8 */
0000309E 598F subq.l A7, 4
000030A0 3F3C 0016 move.w -[A7], 0x16
000030A4 A88F syscall OSDispatch
000030A6 201F move.l D0, [A7]+
label000030A8:
000030A8 6000 FE3A bra -0x1C4 /* 00002EE4 */
000030AC 225F movea.l A1, [A7]+
000030AE 204F movea.l A0, A7
000030B0 A019 syscall InitZone
000030B2 4FEF 000E lea.l A7, [A7 + 0xE]
000030B6 4ED1 jmp [A1]
fn000030B8:
000030B8 225F movea.l A1, [A7]+
000030BA 205F movea.l A0, [A7]+
000030BC A021 syscall GetPtrSize
000030BE 2E80 move.l [A7], D0
000030C0 6A02 bpl +0x4 /* 000030C4 */
000030C2 4297 clr.l [A7]
label000030C4:
000030C4 4ED1 jmp [A1]
000030C6 225F movea.l A1, [A7]+
000030C8 205F movea.l A0, [A7]+
000030CA A025 syscall GetHandleSize
000030CC 2E80 move.l [A7], D0
000030CE 6A02 bpl +0x4 /* 000030D2 */
000030D0 4297 clr.l [A7]
label000030D2:
000030D2 4ED1 jmp [A1]
fn000030D4:
000030D4 225F movea.l A1, [A7]+
000030D6 121F move.b D1, [A7]+
000030D8 301F move.w D0, [A7]+
000030DA 4A01 tst.b D1
000030DC 6704 beq +0x6 /* 000030E2 */
000030DE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000030E0 6002 bra +0x4 /* 000030E4 */
label000030E2:
000030E2 A346 syscall GetOSTrapAddress, flags=3
label000030E4:
000030E4 2E88 move.l [A7], A0
000030E6 4ED1 jmp [A1]
000030E8 225F movea.l A1, [A7]+
000030EA 121F move.b D1, [A7]+
000030EC 301F move.w D0, [A7]+
000030EE 205F movea.l A0, [A7]+
000030F0 4A01 tst.b D1
000030F2 6704 beq +0x6 /* 000030F8 */
000030F4 A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
000030F6 6002 bra +0x4 /* 000030FA */
label000030F8:
000030F8 A247 syscall SetOSTrapAddress, flags=2
label000030FA:
000030FA 4ED1 jmp [A1]
000030FC 206F 000C movea.l A0, [A7 + 0xC]
00003100 226F 0008 movea.l A1, [A7 + 0x8]
00003104 7000 moveq.l D0, 0x00
00003106 1018 move.b D0, [A0]+
00003108 4840 swap.w D0
0000310A 1019 move.b D0, [A1]+
0000310C 4A2F 0004 tst.b [A7 + 0x4]
00003110 670E beq +0x10 /* 00003120 */
00003112 4A2F 0006 tst.b [A7 + 0x6]
00003116 6704 beq +0x6 /* 0000311C */
00003118 A43C syscall CmpString, flags=4
0000311A 6010 bra +0x12 /* 0000312C */
label0000311C:
0000311C A03C syscall CmpString
0000311E 600C bra +0xE /* 0000312C */
label00003120:
00003120 4A2F 0006 tst.b [A7 + 0x6]
00003124 6704 beq +0x6 /* 0000312A */
00003126 A63C syscall CmpString, flags=6
00003128 6002 bra +0x4 /* 0000312C */
label0000312A:
0000312A A23C syscall CmpString, flags=2
label0000312C:
0000312C 0A00 0001 xori.b D0, 0x1
00003130 1F40 0010 move.b [A7 + 0x10], D0
00003134 205F movea.l A0, [A7]+
00003136 4FEF 000C lea.l A7, [A7 + 0xC]
0000313A 4ED0 jmp [A0]
0000313C 225F movea.l A1, [A7]+
0000313E 121F move.b D1, [A7]+
00003140 205F movea.l A0, [A7]+
00003142 7000 moveq.l D0, 0x00
00003144 1018 move.b D0, [A0]+
00003146 2F09 move.l -[A7], A1
00003148 4A01 tst.b D1
0000314A 6704 beq +0x6 /* 00003150 */
0000314C A054 syscall UprString/UprText
0000314E 6002 bra +0x4 /* 00003152 */
label00003150:
00003150 A254 syscall UprString/UprText, flags=2
label00003152:
00003152 4E75 rts
fn00003154:
00003154 4E56 FFCE link A6, -0x0032
00003158 204F movea.l A0, A7
0000315A 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00003160 A001 syscall Close
00003162 3D40 000A move.w [A6 + 0xA], D0
00003166 4E5E unlink A6
00003168 205F movea.l A0, [A7]+
0000316A 548F addq.l A7, 2
0000316C 4ED0 jmp [A0]
0000316E 51C1 sf D1
00003170 6002 bra +0x4 /* 00003174 */
00003172 50C1 st D1
label00003174:
00003174 4E56 FFCE link A6, -0x0032
00003178 204F movea.l A0, A7
0000317A 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00003180 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00003186 226E 000C movea.l A1, [A6 + 0xC]
0000318A 2151 0024 move.l [A0 + 0x24], [A1]
0000318E 4268 002C clr.w [A0 + 0x2C]
00003192 42A8 002E clr.l [A0 + 0x2E]
00003196 4A01 tst.b D1
00003198 6604 bne +0x6 /* 0000319E */
0000319A A002 syscall Read
0000319C 6002 bra +0x4 /* 000031A0 */
label0000319E:
0000319E A003 syscall Write
label000031A0:
000031A0 3D40 0012 move.w [A6 + 0x12], D0
000031A4 226E 000C movea.l A1, [A6 + 0xC]
000031A8 22A8 0028 move.l [A1], [A0 + 0x28]
000031AC 4E5E unlink A6
000031AE 225F movea.l A1, [A7]+
000031B0 4FEF 000A lea.l A7, [A7 + 0xA]
000031B4 4ED1 jmp [A1]
fn000031B6:
000031B6 4E56 FFC0 link A6, -0x0040
000031BA 204F movea.l A0, A7
000031BC 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000031C2 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000031C8 A015 syscall SetVol/PBHSetVol/HSetVol
000031CA 3D40 000E move.w [A6 + 0xE], D0
000031CE 4E5E unlink A6
000031D0 225F movea.l A1, [A7]+
000031D2 5C8F addq.l A7, 6
000031D4 4ED1 jmp [A1]
000031D6 4E56 FFC0 link A6, -0x0040
000031DA 204F movea.l A0, A7
000031DC 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000031E2 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000031E8 A013 syscall FlushVol
000031EA 3D40 000E move.w [A6 + 0xE], D0
000031EE 4E5E unlink A6
000031F0 225F movea.l A1, [A7]+
000031F2 5C8F addq.l A7, 6
000031F4 4ED1 jmp [A1]
000031F6 4E56 FFCE link A6, -0x0032
000031FA 204F movea.l A0, A7
000031FC 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00003202 A011 syscall GetEOF
00003204 3D40 000E move.w [A6 + 0xE], D0
00003208 226E 0008 movea.l A1, [A6 + 0x8]
0000320C 22A8 001C move.l [A1], [A0 + 0x1C]
00003210 4E5E unlink A6
00003212 225F movea.l A1, [A7]+
00003214 5C8F addq.l A7, 6
00003216 4ED1 jmp [A1]
00003218 4E56 FFCE link A6, -0x0032
0000321C 204F movea.l A0, A7
0000321E 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00003224 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
0000322A A012 syscall SetEOF
0000322C 3D40 000E move.w [A6 + 0xE], D0
00003230 4E5E unlink A6
00003232 225F movea.l A1, [A7]+
00003234 5C8F addq.l A7, 6
00003236 4ED1 jmp [A1]
00003238 4E56 FFCE link A6, -0x0032
0000323C 204F movea.l A0, A7
0000323E 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00003244 A018 syscall GetFPos
00003246 3D40 000E move.w [A6 + 0xE], D0
0000324A 226E 0008 movea.l A1, [A6 + 0x8]
0000324E 22A8 002E move.l [A1], [A0 + 0x2E]
00003252 4E5E unlink A6
00003254 225F movea.l A1, [A7]+
00003256 5C8F addq.l A7, 6
00003258 4ED1 jmp [A1]
0000325A 4E56 FFCE link A6, -0x0032
0000325E 204F movea.l A0, A7
00003260 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00003266 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
0000326C 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00003272 A044 syscall SetFPos
00003274 3D40 0010 move.w [A6 + 0x10], D0
00003278 4E5E unlink A6
0000327A 225F movea.l A1, [A7]+
0000327C 508F addq.l A7, 8
0000327E 4ED1 jmp [A1]
00003280 205F movea.l A0, [A7]+
00003282 301F move.w D0, [A7]+
00003284 2F08 move.l -[A7], A0
00003286 4E56 FFE0 link A6, -0x0020
0000328A 204F movea.l A0, A7
0000328C 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
00003292 317C 0002 001A move.w [A0 + 0x1A], 0x2
00003298 3140 001C move.w [A0 + 0x1C], D0
0000329C A204 syscall Control, flags=2
0000329E 4E5E unlink A6
000032A0 4E75 rts
000032A2 A162 syscall PurgeSpace, flags=1
000032A4 226F 0004 movea.l A1, [A7 + 0x4]
000032A8 2288 move.l [A1], A0
000032AA 226F 0008 movea.l A1, [A7 + 0x8]
000032AE 2280 move.l [A1], D0
000032B0 225F movea.l A1, [A7]+
000032B2 504F addq.w A7, 8
000032B4 4ED1 jmp [A1]
000032B6 343C 000C move.w D2, 0xC
000032BA 226F 0004 movea.l A1, [A7 + 0x4]
000032BE 206F 0008 movea.l A0, [A7 + 0x8]
000032C2 4240 clr.w D0
000032C4 4241 clr.w D1
000032C6 1018 move.b D0, [A0]+
000032C8 1219 move.b D1, [A1]+
000032CA 2F48 0008 move.l [A7 + 0x8], A0
000032CE 2F49 0004 move.l [A7 + 0x4], A1
000032D2 205F movea.l A0, [A7]+
000032D4 3F00 move.w -[A7], D0
000032D6 3F01 move.w -[A7], D1
000032D8 3F02 move.w -[A7], D2
000032DA 2F08 move.l -[A7], A0
000032DC ADED syscall Pack6, auto_pop
000032DE 206F 0008 movea.l A0, [A7 + 0x8]
000032E2 3F3C 0001 move.w -[A7], 0x1
000032E6 A9EE syscall Pack7/DecStr68K
000032E8 206F 0004 movea.l A0, [A7 + 0x4]
000032EC 2080 move.l [A0], D0
000032EE 4EFA 000E jmp [PC + 0xE /* 000032FE */]
000032F2 206F 0004 movea.l A0, [A7 + 0x4]
000032F6 202F 0008 move.l D0, [A7 + 0x8]
000032FA 4267 clr.w -[A7]
000032FC A9EE syscall Pack7/DecStr68K
label000032FE:
000032FE 205F movea.l A0, [A7]+
00003300 504F addq.w A7, 8
00003302 4ED0 jmp [A0]
fn00003304:
00003304 202F 0004 move.l D0, [A7 + 0x4]
00003308 2F40 0008 move.l [A7 + 0x8], D0
0000330C 6726 beq +0x28 /* 00003334 */
0000330E 2040 movea.l A0, D0
00003310 2248 movea.l A1, A0
00003312 1019 move.b D0, [A1]+
00003314 671E beq +0x20 /* 00003334 */
label00003316:
00003316 1211 move.b D1, [A1]
00003318 12C0 move.b [A1]+, D0
0000331A 1001 move.b D0, D1
0000331C 66F8 bne -0x6 /* 00003316 */
0000331E 93C8 sub.l A1, A0
00003320 2009 move.l D0, A1
00003322 5340 subq.w D0, 1
00003324 0C80 0000 00FF cmpi.l D0, 0xFF
0000332A 6F06 ble +0x8 /* 00003332 */
0000332C 203C 0000 00FF move.l D0, 0xFF
label00003332:
00003332 1080 move.b [A0], D0
label00003334:
00003334 225F movea.l A1, [A7]+
00003336 584F addq.w A7, 4
00003338 4ED1 jmp [A1]
0000333A 4E56 0000 link A6, 0
0000333E 594F subq.w A7, 4
00003340 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00003346 3F2E 000A move.w -[A7], [A6 + 0xA]
0000334A A9A0 syscall GetResource
0000334C 226E 000C movea.l A1, [A6 + 0xC]
00003350 4211 clr.b [A1]
00003352 201F move.l D0, [A7]+
00003354 6722 beq +0x24 /* 00003378 */
00003356 2040 movea.l A0, D0
00003358 2050 movea.l A0, [A0]
0000335A 3018 move.w D0, [A0]+
0000335C 322E 0008 move.w D1, [A6 + 0x8]
00003360 6716 beq +0x18 /* 00003378 */
00003362 B240 cmp.w D1, D0
00003364 6212 bhi +0x14 /* 00003378 */
00003366 7000 moveq.l D0, 0x00
label00003368:
00003368 5341 subq.w D1, 1
0000336A 6706 beq +0x8 /* 00003372 */
0000336C 1018 move.b D0, [A0]+
0000336E D1C0 add.l A0, D0
00003370 60F6 bra -0x8 /* 00003368 */
label00003372:
00003372 1010 move.b D0, [A0]
00003374 5240 addq.w D0, 1
00003376 A02E syscall BlockMove/BlockMoveData
label00003378:
00003378 4E5E unlink A6
0000337A 205F movea.l A0, [A7]+
0000337C 508F addq.l A7, 8
0000337E 4ED0 jmp [A0]
00003380 4E56 0000 link A6, 0
00003384 594F subq.w A7, 4
00003386 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
0000338C 3F2E 000A move.w -[A7], [A6 + 0xA]
00003390 A9A0 syscall GetResource
00003392 226E 000C movea.l A1, [A6 + 0xC]
00003396 201F move.l D0, [A7]+
00003398 671C beq +0x1E /* 000033B6 */
0000339A 2040 movea.l A0, D0
0000339C 2050 movea.l A0, [A0]
0000339E 3018 move.w D0, [A0]+
000033A0 322E 0008 move.w D1, [A6 + 0x8]
000033A4 6710 beq +0x12 /* 000033B6 */
000033A6 B240 cmp.w D1, D0
000033A8 620C bhi +0xE /* 000033B6 */
label000033AA:
000033AA 5341 subq.w D1, 1
000033AC 6704 beq +0x6 /* 000033B2 */
000033AE 5048 addq.w A0, 8
000033B0 60F8 bra -0x6 /* 000033AA */
label000033B2:
000033B2 22D8 move.l [A1]+, [A0]+
000033B4 2290 move.l [A1], [A0]
label000033B6:
000033B6 4E5E unlink A6
000033B8 205F movea.l A0, [A7]+
000033BA 508F addq.l A7, 8
000033BC 4ED0 jmp [A0]
fn000033BE:
000033BE 4E56 FFCC link A6, -0x0034
000033C2 2F03 move.l -[A7], D3
000033C4 2D6E 0010 FFDE move.l [A6 - 0x22], [A6 + 0x10]
000033CA 41EE FFCC lea.l A0, [A6 - 0x34]
000033CE A214 syscall GetVol/PBHGetVol/HGetVol, flags=2
000033D0 3600 move.w D3, D0
000033D2 206E 000C movea.l A0, [A6 + 0xC]
000033D6 30AE FFE2 move.w [A0], [A6 - 0x1E]
000033DA 206E 0008 movea.l A0, [A6 + 0x8]
000033DE 20AE FFFC move.l [A0], [A6 - 0x4]
000033E2 3003 move.w D0, D3
000033E4 3D40 0014 move.w [A6 + 0x14], D0
000033E8 261F move.l D3, [A7]+
000033EA 4E5E unlink A6
000033EC 205F movea.l A0, [A7]+
000033EE 4FEF 000C lea.l A7, [A7 + 0xC]
000033F2 4ED0 jmp [A0]
fn000033F4:
000033F4 4E56 FFCC link A6, -0x0034
000033F8 2D6E 000E FFDE move.l [A6 - 0x22], [A6 + 0xE]
000033FE 3D6E 000C FFE2 move.w [A6 - 0x1E], [A6 + 0xC]
00003404 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
0000340A 41EE FFCC lea.l A0, [A6 - 0x34]
0000340E A215 syscall SetVol/PBHSetVol/HSetVol, flags=2
00003410 3D40 0012 move.w [A6 + 0x12], D0
00003414 4E5E unlink A6
00003416 205F movea.l A0, [A7]+
00003418 4FEF 000A lea.l A7, [A7 + 0xA]
0000341C 4ED0 jmp [A0]
0000341E 4E56 FF84 link A6, -0x007C
00003422 2F03 move.l -[A7], D3
00003424 3D6E 0016 FF9A move.w [A6 - 0x66], [A6 + 0x16]
0000342A 2D6E 0012 FFB4 move.l [A6 - 0x4C], [A6 + 0x12]
00003430 2D6E 000E FF96 move.l [A6 - 0x6A], [A6 + 0xE]
00003436 422E FF9E clr.b [A6 - 0x62]
0000343A 1D6E 000C FF9F move.b [A6 - 0x61], [A6 + 0xC]
00003440 7000 moveq.l D0, 0x00
00003442 2D40 FFA0 move.l [A6 - 0x60], D0
00003446 41EE FF84 lea.l A0, [A6 - 0x7C]
0000344A A200 syscall OpenSlot, flags=2
0000344C 3600 move.w D3, D0
0000344E 206E 0008 movea.l A0, [A6 + 0x8]
00003452 30AE FF9C move.w [A0], [A6 - 0x64]
00003456 3003 move.w D0, D3
00003458 3D40 0018 move.w [A6 + 0x18], D0
0000345C 261F move.l D3, [A7]+
0000345E 4E5E unlink A6
00003460 205F movea.l A0, [A7]+
00003462 4FEF 0010 lea.l A7, [A7 + 0x10]
00003466 4ED0 jmp [A0]
00003468 4E56 FF84 link A6, -0x007C
0000346C 2F03 move.l -[A7], D3
0000346E 3D6E 0016 FF9A move.w [A6 - 0x66], [A6 + 0x16]
00003474 2D6E 0012 FFB4 move.l [A6 - 0x4C], [A6 + 0x12]
0000347A 2D6E 000E FF96 move.l [A6 - 0x6A], [A6 + 0xE]
00003480 422E FF9E clr.b [A6 - 0x62]
00003484 1D6E 000C FF9F move.b [A6 - 0x61], [A6 + 0xC]
0000348A 7000 moveq.l D0, 0x00
0000348C 2D40 FFA0 move.l [A6 - 0x60], D0
00003490 41EE FF84 lea.l A0, [A6 - 0x7C]
00003494 701A moveq.l D0, 0x1A
00003496 A260 syscall FSDispatch/HFSDispatch, flags=2
00003498 3600 move.w D3, D0
0000349A 206E 0008 movea.l A0, [A6 + 0x8]
0000349E 30AE FF9C move.w [A0], [A6 - 0x64]
000034A2 3003 move.w D0, D3
000034A4 3D40 0018 move.w [A6 + 0x18], D0
000034A8 261F move.l D3, [A7]+
000034AA 4E5E unlink A6
000034AC 205F movea.l A0, [A7]+
000034AE 4FEF 0010 lea.l A7, [A7 + 0x10]
000034B2 4ED0 jmp [A0]
fn000034B4:
000034B4 4E56 FF84 link A6, -0x007C
000034B8 2F03 move.l -[A7], D3
000034BA 3D6E 0016 FF9A move.w [A6 - 0x66], [A6 + 0x16]
000034C0 2D6E 0012 FFB4 move.l [A6 - 0x4C], [A6 + 0x12]
000034C6 2D6E 000E FF96 move.l [A6 - 0x6A], [A6 + 0xE]
000034CC 422E FF9E clr.b [A6 - 0x62]
000034D0 1D6E 000C FF9F move.b [A6 - 0x61], [A6 + 0xC]
000034D6 7000 moveq.l D0, 0x00
000034D8 2D40 FFA0 move.l [A6 - 0x60], D0
000034DC 41EE FF84 lea.l A0, [A6 - 0x7C]
000034E0 A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
000034E2 3600 move.w D3, D0
000034E4 206E 0008 movea.l A0, [A6 + 0x8]
000034E8 30AE FF9C move.w [A0], [A6 - 0x64]
000034EC 3003 move.w D0, D3
000034EE 3D40 0018 move.w [A6 + 0x18], D0
000034F2 261F move.l D3, [A7]+
000034F4 4E5E unlink A6
000034F6 205F movea.l A0, [A7]+
000034F8 4FEF 0010 lea.l A7, [A7 + 0x10]
000034FC 4ED0 jmp [A0]
000034FE 4E56 FF84 link A6, -0x007C
00003502 48E7 1800 movem.l -[A7], D3,D4
00003506 3D6E 0018 FF9A move.w [A6 - 0x66], [A6 + 0x18]
0000350C 262E 0014 move.l D3, [A6 + 0x14]
00003510 2D43 FFB4 move.l [A6 - 0x4C], D3
00003514 2D6E 0010 FF96 move.l [A6 - 0x6A], [A6 + 0x10]
0000351A 422E FF9E clr.b [A6 - 0x62]
0000351E 41EE FF84 lea.l A0, [A6 - 0x7C]
00003522 A208 syscall Create/PBHCreate/HCreate, flags=2
00003524 3800 move.w D4, D0
00003526 6628 bne +0x2A /* 00003550 */
00003528 4240 clr.w D0
0000352A 3D40 FFA0 move.w [A6 - 0x60], D0
0000352E 41EE FF84 lea.l A0, [A6 - 0x7C]
00003532 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00003534 3800 move.w D4, D0
00003536 6618 bne +0x1A /* 00003550 */
00003538 2D6E 000C FFA8 move.l [A6 - 0x58], [A6 + 0xC]
0000353E 2D6E 0008 FFA4 move.l [A6 - 0x5C], [A6 + 0x8]
00003544 2D43 FFB4 move.l [A6 - 0x4C], D3
00003548 41EE FF84 lea.l A0, [A6 - 0x7C]
0000354C A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
0000354E 3800 move.w D4, D0
label00003550:
00003550 3004 move.w D0, D4
00003552 3D40 001A move.w [A6 + 0x1A], D0
00003556 4CDF 0018 movem.l D3,D4, [A7]+
0000355A 4E5E unlink A6
0000355C 205F movea.l A0, [A7]+
0000355E 4FEF 0012 lea.l A7, [A7 + 0x12]
00003562 4ED0 jmp [A0]
00003564 4E56 FF84 link A6, -0x007C
00003568 3D6E 0010 FF9A move.w [A6 - 0x66], [A6 + 0x10]
0000356E 2D6E 000C FFB4 move.l [A6 - 0x4C], [A6 + 0xC]
00003574 2D6E 0008 FF96 move.l [A6 - 0x6A], [A6 + 0x8]
0000357A 422E FF9E clr.b [A6 - 0x62]
0000357E 41EE FF84 lea.l A0, [A6 - 0x7C]
00003582 A209 syscall Delete/PBHDelete/HDelete, flags=2
00003584 3D40 0012 move.w [A6 + 0x12], D0
00003588 4E5E unlink A6
0000358A 205F movea.l A0, [A7]+
0000358C 4FEF 000A lea.l A7, [A7 + 0xA]
00003590 4ED0 jmp [A0]
00003592 4E56 FF84 link A6, -0x007C
00003596 2F03 move.l -[A7], D3
00003598 3D6E 0014 FF9A move.w [A6 - 0x66], [A6 + 0x14]
0000359E 2D6E 0010 FFB4 move.l [A6 - 0x4C], [A6 + 0x10]
000035A4 2D6E 000C FF96 move.l [A6 - 0x6A], [A6 + 0xC]
000035AA 422E FF9E clr.b [A6 - 0x62]
000035AE 4240 clr.w D0
000035B0 3D40 FFA0 move.w [A6 - 0x60], D0
000035B4 41EE FF84 lea.l A0, [A6 - 0x7C]
000035B8 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
000035BA 3600 move.w D3, D0
000035BC 41EE FFA4 lea.l A0, [A6 - 0x5C]
000035C0 226E 0008 movea.l A1, [A6 + 0x8]
000035C4 22D8 move.l [A1]+, [A0]+
000035C6 22D8 move.l [A1]+, [A0]+
000035C8 22D8 move.l [A1]+, [A0]+
000035CA 22D8 move.l [A1]+, [A0]+
000035CC 3003 move.w D0, D3
000035CE 3D40 0016 move.w [A6 + 0x16], D0
000035D2 261F move.l D3, [A7]+
000035D4 4E5E unlink A6
000035D6 205F movea.l A0, [A7]+
000035D8 4FEF 000E lea.l A7, [A7 + 0xE]
000035DC 4ED0 jmp [A0]
000035DE 4E56 FF84 link A6, -0x007C
000035E2 48E7 1800 movem.l -[A7], D3,D4
000035E6 3D6E 0014 FF9A move.w [A6 - 0x66], [A6 + 0x14]
000035EC 262E 0010 move.l D3, [A6 + 0x10]
000035F0 2D43 FFB4 move.l [A6 - 0x4C], D3
000035F4 2D6E 000C FF96 move.l [A6 - 0x6A], [A6 + 0xC]
000035FA 422E FF9E clr.b [A6 - 0x62]
000035FE 4240 clr.w D0
00003600 3D40 FFA0 move.w [A6 - 0x60], D0
00003604 41EE FF84 lea.l A0, [A6 - 0x7C]
00003608 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
0000360A 3800 move.w D4, D0
0000360C 661C bne +0x1E /* 0000362A */
0000360E 206E 0008 movea.l A0, [A6 + 0x8]
00003612 43EE FFA4 lea.l A1, [A6 - 0x5C]
00003616 22D8 move.l [A1]+, [A0]+
00003618 22D8 move.l [A1]+, [A0]+
0000361A 22D8 move.l [A1]+, [A0]+
0000361C 22D8 move.l [A1]+, [A0]+
0000361E 2D43 FFB4 move.l [A6 - 0x4C], D3
00003622 41EE FF84 lea.l A0, [A6 - 0x7C]
00003626 A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00003628 3800 move.w D4, D0
label0000362A:
0000362A 3004 move.w D0, D4
0000362C 3D40 0016 move.w [A6 + 0x16], D0
00003630 4CDF 0018 movem.l D3,D4, [A7]+
00003634 4E5E unlink A6
00003636 205F movea.l A0, [A7]+
00003638 4FEF 000E lea.l A7, [A7 + 0xE]
0000363C 4ED0 jmp [A0]
fn0000363E:
0000363E 4E56 FFCC link A6, -0x0034
00003642 2F03 move.l -[A7], D3
00003644 3D6E 0014 FFE2 move.w [A6 - 0x1E], [A6 + 0x14]
0000364A 4240 clr.w D0
0000364C 3D40 FFE6 move.w [A6 - 0x1A], D0
00003650 7000 moveq.l D0, 0x00
00003652 2D40 FFDE move.l [A6 - 0x22], D0
00003656 41EE FFCC lea.l A0, [A6 - 0x34]
0000365A 7007 moveq.l D0, 0x07
0000365C A260 syscall FSDispatch/HFSDispatch, flags=2
0000365E 3600 move.w D3, D0
00003660 206E 0010 movea.l A0, [A6 + 0x10]
00003664 30AE FFEC move.w [A0], [A6 - 0x14]
00003668 206E 000C movea.l A0, [A6 + 0xC]
0000366C 20AE FFFC move.l [A0], [A6 - 0x4]
00003670 206E 0008 movea.l A0, [A6 + 0x8]
00003674 20AE FFE8 move.l [A0], [A6 - 0x18]
00003678 3003 move.w D0, D3
0000367A 3D40 0016 move.w [A6 + 0x16], D0
0000367E 261F move.l D3, [A7]+
00003680 4E5E unlink A6
00003682 205F movea.l A0, [A7]+
00003684 4FEF 000E lea.l A7, [A7 + 0xE]
00003688 4ED0 jmp [A0]
0000368A 4E56 FFEC link A6, -0x0014
0000368E 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00003692 266E 000A movea.l A3, [A6 + 0xA]
00003696 282E 000E move.l D4, [A6 + 0xE]
0000369A 3A2E 0012 move.w D5, [A6 + 0x12]
0000369E 207C 0000 015A movea.l A0, 0x15A
000036A4 3010 move.w D0, [A0]
000036A6 0C40 0600 cmpi.w D0, 0x600
000036AA 6D36 blt +0x38 /* 000036E2 */
000036AC 303C A89F move.w D0, 0xA89F
000036B0 A146 syscall GetTrapAddress, flags=1
000036B2 2448 movea.l A2, A0
000036B4 594F subq.w A7, 4
000036B6 3F3C A81A move.w -[A7], 0xA81A
000036BA 7001 moveq.l D0, 0x01
000036BC 1F00 move.b -[A7], D0
000036BE 4EBA FA14 jsr [PC - 0x5EC /* 000030D4 */]
000036C2 225F movea.l A1, [A7]+
000036C4 204A movea.l A0, A2
000036C6 B1C9 cmpa.l A0, A1
000036C8 6718 beq +0x1A /* 000036E2 */
000036CA 554F subq.w A7, 2
000036CC 3F05 move.w -[A7], D5
000036CE 2F04 move.l -[A7], D4
000036D0 2F0B move.l -[A7], A3
000036D2 1F2E 0008 move.b -[A7], [A6 + 0x8]
000036D6 A81A syscall HOpenResFile
000036D8 301F move.w D0, [A7]+
000036DA 3D40 0014 move.w [A6 + 0x14], D0
000036DE 4EFA 00C8 jmp [PC + 0xC8 /* 000037A8 */]
label000036E2:
000036E2 7CFF moveq.l D6, 0xFFFFFFFF
000036E4 554F subq.w A7, 2
000036E6 3F05 move.w -[A7], D5
000036E8 2F04 move.l -[A7], D4
000036EA 2F0B move.l -[A7], A3
000036EC 1F2E 0008 move.b -[A7], [A6 + 0x8]
000036F0 486E FFEC pea.l [A6 - 0x14]
000036F4 4EBA FDBE jsr [PC - 0x242 /* 000034B4 */]
000036F8 361F move.w D3, [A7]+
000036FA 660C bne +0xE /* 00003708 */
000036FC 554F subq.w A7, 2
000036FE 3F2E FFEC move.w -[A7], [A6 - 0x14]
00003702 4EBA FA50 jsr [PC - 0x5B0 /* 00003154 */]
00003706 361F move.w D3, [A7]+
label00003708:
00003708 4A43 tst.w D3
0000370A 6708 beq +0xA /* 00003714 */
0000370C 0C43 FFCF cmpi.w D3, 0xFFCF
00003710 6600 008A bne +0x8C /* 0000379C */
label00003714:
00003714 554F subq.w A7, 2
00003716 42A7 clr.l -[A7]
00003718 486E FFEE pea.l [A6 - 0x12]
0000371C 486E FFF0 pea.l [A6 - 0x10]
00003720 4EBA FC9C jsr [PC - 0x364 /* 000033BE */]
00003724 361F move.w D3, [A7]+
00003726 6674 bne +0x76 /* 0000379C */
00003728 554F subq.w A7, 2
0000372A 3F2E FFEE move.w -[A7], [A6 - 0x12]
0000372E 486E FFF4 pea.l [A6 - 0xC]
00003732 486E FFF8 pea.l [A6 - 0x8]
00003736 486E FFFC pea.l [A6 - 0x4]
0000373A 4EBA FF02 jsr [PC - 0xFE /* 0000363E */]
0000373E 361F move.w D3, [A7]+
00003740 665A bne +0x5C /* 0000379C */
00003742 554F subq.w A7, 2
00003744 42A7 clr.l -[A7]
00003746 3F05 move.w -[A7], D5
00003748 2F04 move.l -[A7], D4
0000374A 4EBA FCA8 jsr [PC - 0x358 /* 000033F4 */]
0000374E 361F move.w D3, [A7]+
00003750 6618 bne +0x1A /* 0000376A */
00003752 554F subq.w A7, 2
00003754 200B move.l D0, A3
00003756 A055 syscall StripAddress
00003758 2F00 move.l -[A7], D0
0000375A 4267 clr.w -[A7]
0000375C 1F2E 0008 move.b -[A7], [A6 + 0x8]
00003760 A9C4 syscall OpenRFPerm
00003762 3C1F move.w D6, [A7]+
00003764 554F subq.w A7, 2
00003766 A9AF syscall ResError
00003768 361F move.w D3, [A7]+
label0000376A:
0000376A 0CAE 0000 0002 FFF8 cmpi.l [A6 - 0x8], 0x2
00003772 6614 bne +0x16 /* 00003788 */
00003774 554F subq.w A7, 2
00003776 42A7 clr.l -[A7]
00003778 3F2E FFEE move.w -[A7], [A6 - 0x12]
0000377C 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00003780 4EBA FC72 jsr [PC - 0x38E /* 000033F4 */]
00003784 381F move.w D4, [A7]+
00003786 600E bra +0x10 /* 00003796 */
label00003788:
00003788 554F subq.w A7, 2
0000378A 42A7 clr.l -[A7]
0000378C 3F2E FFEE move.w -[A7], [A6 - 0x12]
00003790 4EBA FA24 jsr [PC - 0x5DC /* 000031B6 */]
00003794 381F move.w D4, [A7]+
label00003796:
00003796 4A43 tst.w D3
00003798 6602 bne +0x4 /* 0000379C */
0000379A 3604 move.w D3, D4
label0000379C:
0000379C 3F03 move.w -[A7], D3
0000379E 31DF 0A60 move.w [0x00000A60 /* ResErr */], [A7]+
000037A2 3006 move.w D0, D6
000037A4 3D40 0014 move.w [A6 + 0x14], D0
label000037A8:
000037A8 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
000037AC 4E5E unlink A6
000037AE 205F movea.l A0, [A7]+
000037B0 4FEF 000C lea.l A7, [A7 + 0xC]
000037B4 4ED0 jmp [A0]
000037B6 4AAD 965E tst.l [A5 - 0x69A2]
000037BA 6604 bne +0x6 /* 000037C0 */
000037BC 70FF moveq.l D0, 0xFFFFFFFF
000037BE 4E75 rts
label000037C0:
000037C0 53AD 965E subq.l [A5 - 0x69A2], 1
000037C4 202D 965E move.l D0, [A5 - 0x69A2]
000037C8 E588 lsl D0, 2
000037CA 41ED 0180 lea.l A0, [A5 + 0x180]
000037CE 21AF 0004 0800 move.l [A0 + D0], [A7 + 0x4]
000037D4 7000 moveq.l D0, 0x00
000037D6 4E75 rts
000037D8 6014 bra +0x16 /* 000037EE */
label000037DA:
000037DA 202D 965A move.l D0, [A5 - 0x69A6]
000037DE 52AD 965A addq.l [A5 - 0x69A6], 1
000037E2 E588 lsl D0, 2
000037E4 41ED 00F8 lea.l A0, [A5 + 0xF8]
000037E8 2070 0800 movea.l A0, [A0 + D0]
000037EC 4E90 jsr [A0]
label000037EE:
000037EE 7022 moveq.l D0, 0x22
000037F0 B0AD 965A cmp.l D0, [A5 - 0x69A6]
000037F4 62E4 bhi -0x1A /* 000037DA */
000037F6 2F2F 0004 move.l -[A7], [A7 + 0x4]
000037FA 4EB9 0000 3808 jsr [0x00003808]
00003800 584F addq.w A7, 4
00003802 4E75 rts
00003804 4AAD 800A tst.l [A5 - 0x7FF6]
00003808 662A bne +0x2C /* 00003834 */
0000380A 4EB9 0000 0494 jsr [0x00000494]
00003810 6014 bra +0x16 /* 00003826 */
label00003812:
00003812 202D 965E move.l D0, [A5 - 0x69A2]
00003816 52AD 965E addq.l [A5 - 0x69A2], 1
0000381A E588 lsl D0, 2
0000381C 41ED 0180 lea.l A0, [A5 + 0x180]
00003820 2070 0800 movea.l A0, [A0 + D0]
00003824 4E90 jsr [A0]
label00003826:
00003826 7022 moveq.l D0, 0x22
00003828 B0AD 965E cmp.l D0, [A5 - 0x69A2]
0000382C 62E4 bhi -0x1A /* 00003812 */
0000382E 4EB9 0000 474E jsr [0x0000474E]
label00003834:
00003834 A9F4 syscall ExitToShell
00003836 4E75 rts
00003838 225F movea.l A1, [A7]+
0000383A 2057 movea.l A0, [A7]
0000383C 20AD 243C move.l [A0], [A5 + 0x243C]
00003840 48E8 FEF8 0004 movem.l [A0 + 0x4], D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7
00003846 7000 moveq.l D0, 0x00
00003848 4ED1 jmp [A1]
0000384A 588F addq.l A7, 4
0000384C 205F movea.l A0, [A7]+
0000384E 2017 move.l D0, [A7]
00003850 6602 bne +0x4 /* 00003854 */
00003852 7001 moveq.l D0, 0x01
label00003854:
00003854 2B50 243C move.l [A5 + 0x243C], [A0]
00003858 4CE8 FEF8 0004 movem.l D3,D4,D5,D6,D7,A1,A2,A3,A4,A5,A6,A7, [A0 + 0x4]
0000385E 4ED1 jmp [A1]
00003860 48E7 1020 movem.l -[A7], D3,A2
00003864 4FEF FFF6 lea.l A7, [A7 - 0xA]
00003868 262F 0016 move.l D3, [A7 + 0x16]
0000386C 4878 0001 push.l 0x1
00003870 2F03 move.l -[A7], D3
00003872 4EB9 0000 397A jsr [0x0000397A]
00003878 2448 movea.l A2, A0
0000387A 70FF moveq.l D0, 0xFFFFFFFF
0000387C B5C0 cmpa.l A2, D0
0000387E 504F addq.w A7, 8
00003880 6606 bne +0x8 /* 00003888 */
00003882 70FF moveq.l D0, 0xFFFFFFFF
00003884 6000 00E6 bra +0xE8 /* 0000396C */
label00003888:
00003888 7001 moveq.l D0, 0x01
0000388A B5C0 cmpa.l A2, D0
0000388C 6700 00DC beq +0xDE /* 0000396A */
00003890 200A move.l D0, A2
00003892 4A80 tst.l D0
00003894 6716 beq +0x18 /* 000038AC */
00003896 42A7 clr.l -[A7]
00003898 2F03 move.l -[A7], D3
0000389A 4EB9 0000 397A jsr [0x0000397A]
000038A0 2F03 move.l -[A7], D3
000038A2 4E92 jsr [A2]
000038A4 4FEF 000C lea.l A7, [A7 + 0xC]
000038A8 6000 00C0 bra +0xC2 /* 0000396A */
label000038AC:
000038AC 2003 move.l D0, D3
000038AE 4EB9 0000 05E2 jsr [0x000005E2]
000038B4 0054 0000 ori.w [A4], 0x0
000038B8 0002 0000 ori.b D2, 0x0
000038BC 000F 0005 ori.b A7, 0x5
000038C0 0000 0002 ori.b D0, 0x2
000038C4 0032 0000 0004 ori.b [A2 + D0.w + 0x4], 0x0
000038CA 0026 0000 ori.b -[A6], 0x0
000038CE 0006 0014 ori.b D6, 0x14
000038D2 0000 0008 ori.b D0, 0x8
000038D6 0014 0000 ori.b [A4], 0x0
000038DA 000B 0020 ori.b A3, 0x20 /* ' ' */
000038DE 0000 000F ori.b D0, 0xF
000038E2 0020 45ED ori.b -[A0], 0xED
000038E6 9AEE 6058 sub.w A5, [A6 + 0x6058]
000038EA 45ED 9AF5 lea.l A2, [A5 - 0x650B]
000038EE 6052 bra +0x54 /* 00003942 */
000038F0 45ED 9B06 lea.l A2, [A5 - 0x64FA]
000038F4 604C bra +0x4E /* 00003942 */
000038F6 45ED 9B1E lea.l A2, [A5 - 0x64E2]
000038FA 6046 bra +0x48 /* 00003942 */
000038FC 45ED 9B2B lea.l A2, [A5 - 0x64D5]
00003900 6040 bra +0x42 /* 00003942 */
00003902 45ED 9B42 lea.l A2, [A5 - 0x64BE]
00003906 603A bra +0x3C /* 00003942 */
00003908 41D7 lea.l A0, [A7]
0000390A 5088 addq.l A0, 8
0000390C 5288 addq.l A0, 1
0000390E 2448 movea.l A2, A0
00003910 4210 clr.b [A0]
label00003912:
00003912 2003 move.l D0, D3
00003914 720A moveq.l D1, 0x0A
00003916 4EB9 0000 05CA jsr [0x000005CA]
0000391C 7230 moveq.l D1, 0x30
0000391E D081 add.l D0, D1
00003920 1500 move.b -[A2], D0
00003922 2003 move.l D0, D3
00003924 720A moveq.l D1, 0x0A
00003926 4EB9 0000 0548 jsr [0x00000548]
0000392C 2600 move.l D3, D0
0000392E 4A80 tst.l D0
00003930 66E0 bne -0x1E /* 00003912 */
00003932 486D 9BE0 pea.l [A5 - 0x6420]
00003936 486D 9B56 pea.l [A5 - 0x64AA]
0000393A 4EB9 0000 3BBC jsr [0x00003BBC]
00003940 504F addq.w A7, 8
label00003942:
00003942 486D 9BE0 pea.l [A5 - 0x6420]
00003946 2F0A move.l -[A7], A2
00003948 4EB9 0000 3BBC jsr [0x00003BBC]
0000394E 486D 9BE0 pea.l [A5 - 0x6420]
00003952 486D 9B5F pea.l [A5 - 0x64A1]
00003956 4EB9 0000 3BBC jsr [0x00003BBC]
0000395C 4878 0001 push.l 0x1
00003960 4EB9 0000 37DC jsr [0x000037DC]
00003966 4FEF 0014 lea.l A7, [A7 + 0x14]
label0000396A:
0000396A 7000 moveq.l D0, 0x00
label0000396C:
0000396C 4FEF 000A lea.l A7, [A7 + 0xA]
00003970 4CDF 0408 movem.l D3,A2, [A7]+
00003974 4E75 rts
00003976 2F0B move.l -[A7], A3
00003978 222F 0008 move.l D1, [A7 + 0x8]
0000397C 266F 000C movea.l A3, [A7 + 0xC]
00003980 4A81 tst.l D1
00003982 6F0C ble +0xE /* 00003990 */
00003984 7020 moveq.l D0, 0x20
00003986 B280 cmp.l D1, D0
00003988 6C06 bge +0x8 /* 00003990 */
0000398A 70FF moveq.l D0, 0xFFFFFFFF
0000398C B7C0 cmpa.l A3, D0
0000398E 660A bne +0xC /* 0000399A */
label00003990:
00003990 207C FFFF FFFF movea.l A0, 0xFFFFFFFF
00003996 265F movea.l A3, [A7]+
00003998 4E75 rts
label0000399A:
0000399A 2001 move.l D0, D1
0000399C E588 lsl D0, 2
0000399E 41ED 0078 lea.l A0, [A5 + 0x78]
000039A2 2270 0800 movea.l A1, [A0 + D0]
000039A6 2001 move.l D0, D1
000039A8 E588 lsl D0, 2
000039AA 218B 0800 move.l [A0 + D0], A3
000039AE 2049 movea.l A0, A1
000039B0 265F movea.l A3, [A7]+
000039B2 4E75 rts
000039B4 48E7 1020 movem.l -[A7], D3,A2
000039B8 7600 moveq.l D3, 0x00
000039BA 601C bra +0x1E /* 000039D8 */
label000039BC:
000039BC 2003 move.l D0, D3
000039BE E588 lsl D0, 2
000039C0 41ED 9C18 lea.l A0, [A5 - 0x63E8]
000039C4 2470 0800 movea.l A2, [A0 + D0]
000039C8 200A move.l D0, A2
000039CA 670A beq +0xC /* 000039D6 */
000039CC 2F0A move.l -[A7], A2
000039CE 4EB9 0000 3A0A jsr [0x00003A0A]
000039D4 584F addq.w A7, 4
label000039D6:
000039D6 5283 addq.l D3, 1
label000039D8:
000039D8 7040 moveq.l D0, 0x40
000039DA B680 cmp.l D3, D0
000039DC 65DE bcs -0x20 /* 000039BC */
000039DE 4CDF 0408 movem.l D3,A2, [A7]+
000039E2 4E75 rts
000039E4 4EB9 0000 40F4 jsr [0x000040F4]
000039EA 4AAD 8012 tst.l [A5 - 0x7FEE]
000039EE 6614 bne +0x16 /* 00003A04 */
000039F0 7001 moveq.l D0, 0x01
000039F2 2B40 8012 move.l [A5 - 0x7FEE], D0
000039F6 4879 0000 39B8 push.l 0x39B8
000039FC 4EB9 0000 37BA jsr [0x000037BA]
00003A02 584F addq.w A7, 4
label00003A04:
00003A04 4E75 rts
00003A06 48E7 1820 movem.l -[A7], D3,D4,A2
00003A0A 246F 0010 movea.l A2, [A7 + 0x10]
00003A0E 2F0A move.l -[A7], A2
00003A10 4EB9 0000 3B04 jsr [0x00003B04]
00003A16 2800 move.l D4, D0
00003A18 3012 move.w D0, [A2]
00003A1A 7240 moveq.l D1, 0x40
00003A1C C081 and.l D0, D1
00003A1E 584F addq.w A7, 4
00003A20 670C beq +0xE /* 00003A2E */
00003A22 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003A26 4EB9 0000 3DA2 jsr [0x00003DA2]
00003A2C 584F addq.w A7, 4
label00003A2E:
00003A2E 42AA 0004 clr.l [A2 + 0x4]
00003A32 4A6A 0002 tst.w [A2 + 0x2]
00003A36 6D16 blt +0x18 /* 00003A4E */
00003A38 302A 0002 move.w D0, [A2 + 0x2]
00003A3C 48C0 ext.l D0
00003A3E 2F00 move.l -[A7], D0
00003A40 4EB9 0000 410A jsr [0x0000410A]
00003A46 4A80 tst.l D0
00003A48 584F addq.w A7, 4
00003A4A 6702 beq +0x4 /* 00003A4E */
00003A4C 78FF moveq.l D4, 0xFFFFFFFF
label00003A4E:
00003A4E 4AAA 0030 tst.l [A2 + 0x30]
00003A52 6722 beq +0x24 /* 00003A76 */
00003A54 2F2A 0030 move.l -[A7], [A2 + 0x30]
00003A58 4EB9 0000 3C9E jsr [0x00003C9E]
00003A5E 4A80 tst.l D0
00003A60 584F addq.w A7, 4
00003A62 6702 beq +0x4 /* 00003A66 */
00003A64 78FF moveq.l D4, 0xFFFFFFFF
label00003A66:
00003A66 2F2A 0030 move.l -[A7], [A2 + 0x30]
00003A6A 4EB9 0000 3DA2 jsr [0x00003DA2]
00003A70 42AA 0030 clr.l [A2 + 0x30]
00003A74 584F addq.w A7, 4
label00003A76:
00003A76 3012 move.w D0, [A2]
00003A78 0280 0000 0080 andi.l D0, 0x80
00003A7E 6730 beq +0x32 /* 00003AB0 */
00003A80 7600 moveq.l D3, 0x00
00003A82 601A bra +0x1C /* 00003A9E */
label00003A84:
00003A84 2003 move.l D0, D3
00003A86 E588 lsl D0, 2
00003A88 41ED 9C18 lea.l A0, [A5 - 0x63E8]
00003A8C B5F0 0800 cmpa.l A2, [A0 + D0]
00003A90 660A bne +0xC /* 00003A9C */
00003A92 2003 move.l D0, D3
00003A94 E588 lsl D0, 2
00003A96 42B0 0800 clr.l [A0 + D0]
00003A9A 6008 bra +0xA /* 00003AA4 */
label00003A9C:
00003A9C 5283 addq.l D3, 1
label00003A9E:
00003A9E 7040 moveq.l D0, 0x40
00003AA0 B680 cmp.l D3, D0
00003AA2 65E0 bcs -0x1E /* 00003A84 */
label00003AA4:
00003AA4 2F0A move.l -[A7], A2
00003AA6 4EB9 0000 3DA2 jsr [0x00003DA2]
00003AAC 584F addq.w A7, 4
00003AAE 6048 bra +0x4A /* 00003AF8 */
label00003AB0:
00003AB0 4252 clr.w [A2]
00003AB2 204A movea.l A0, A2
00003AB4 41E8 0036 lea.l A0, [A0 + 0x36]
00003AB8 2548 000C move.l [A2 + 0xC], A0
00003ABC 204A movea.l A0, A2
00003ABE 41E8 0036 lea.l A0, [A0 + 0x36]
00003AC2 2548 0010 move.l [A2 + 0x10], A0
00003AC6 204A movea.l A0, A2
00003AC8 41E8 0036 lea.l A0, [A0 + 0x36]
00003ACC 2548 0026 move.l [A2 + 0x26], A0
00003AD0 204A movea.l A0, A2
00003AD2 41E8 0036 lea.l A0, [A0 + 0x36]
00003AD6 2548 0014 move.l [A2 + 0x14], A0
00003ADA 204A movea.l A0, A2
00003ADC 41E8 0036 lea.l A0, [A0 + 0x36]
00003AE0 2548 002A move.l [A2 + 0x2A], A0
00003AE4 204A movea.l A0, A2
00003AE6 41E8 0036 lea.l A0, [A0 + 0x36]
00003AEA 2548 0018 move.l [A2 + 0x18], A0
00003AEE 204A movea.l A0, A2
00003AF0 41E8 0022 lea.l A0, [A0 + 0x22]
00003AF4 2548 001C move.l [A2 + 0x1C], A0
label00003AF8:
00003AF8 2004 move.l D0, D4
00003AFA 4CDF 0418 movem.l D3,D4,A2, [A7]+
00003AFE 4E75 rts
00003B00 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00003B04 246F 0014 movea.l A2, [A7 + 0x14]
00003B08 200A move.l D0, A2
00003B0A 4A80 tst.l D0
00003B0C 6632 bne +0x34 /* 00003B40 */
00003B0E 7800 moveq.l D4, 0x00
00003B10 7600 moveq.l D3, 0x00
00003B12 6022 bra +0x24 /* 00003B36 */
label00003B14:
00003B14 2003 move.l D0, D3
00003B16 E588 lsl D0, 2
00003B18 41ED 9C18 lea.l A0, [A5 - 0x63E8]
00003B1C 2670 0800 movea.l A3, [A0 + D0]
00003B20 200B move.l D0, A3
00003B22 6710 beq +0x12 /* 00003B34 */
00003B24 2F0B move.l -[A7], A3
00003B26 4EB9 0000 3B04 jsr [0x00003B04]
00003B2C 4A80 tst.l D0
00003B2E 584F addq.w A7, 4
00003B30 6C02 bge +0x4 /* 00003B34 */
00003B32 78FF moveq.l D4, 0xFFFFFFFF
label00003B34:
00003B34 5283 addq.l D3, 1
label00003B36:
00003B36 7040 moveq.l D0, 0x40
00003B38 B680 cmp.l D3, D0
00003B3A 6DD8 blt -0x26 /* 00003B14 */
00003B3C 2004 move.l D0, D4
00003B3E 6072 bra +0x74 /* 00003BB2 */
label00003B40:
00003B40 3012 move.w D0, [A2]
00003B42 0280 0000 2000 andi.l D0, 0x2000 /* ' \0' */
00003B48 6604 bne +0x6 /* 00003B4E */
00003B4A 7000 moveq.l D0, 0x00
00003B4C 6064 bra +0x66 /* 00003BB2 */
label00003B4E:
00003B4E 266A 0004 movea.l A3, [A2 + 0x4]
00003B52 6038 bra +0x3A /* 00003B8C */
label00003B54:
00003B54 206A 000C movea.l A0, [A2 + 0xC]
00003B58 91CB sub.l A0, A3
00003B5A 2F08 move.l -[A7], A0
00003B5C 2F0B move.l -[A7], A3
00003B5E 2F0A move.l -[A7], A2
00003B60 4EB9 0000 4378 jsr [0x00004378]
00003B66 2600 move.l D3, D0
00003B68 4A83 tst.l D3
00003B6A 4FEF 000C lea.l A7, [A7 + 0xC]
00003B6E 6E1A bgt +0x1C /* 00003B8A */
00003B70 256A 0004 000C move.l [A2 + 0xC], [A2 + 0x4]
00003B76 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
00003B7C 256A 0004 002A move.l [A2 + 0x2A], [A2 + 0x4]
00003B82 0052 0200 ori.w [A2], 0x200
00003B86 70FF moveq.l D0, 0xFFFFFFFF
00003B88 6028 bra +0x2A /* 00003BB2 */
label00003B8A:
00003B8A D7C3 add.l A3, D3
label00003B8C:
00003B8C B7EA 000C cmpa.l A3, [A2 + 0xC]
00003B90 65C2 bcs -0x3C /* 00003B54 */
00003B92 256A 0004 000C move.l [A2 + 0xC], [A2 + 0x4]
00003B98 3012 move.w D0, [A2]
00003B9A 0280 0000 4000 andi.l D0, 0x4000 /* '@\0' */
00003BA0 6708 beq +0xA /* 00003BAA */
00003BA2 256A 0008 0014 move.l [A2 + 0x14], [A2 + 0x8]
00003BA8 6006 bra +0x8 /* 00003BB0 */
label00003BAA:
00003BAA 256A 0008 002A move.l [A2 + 0x2A], [A2 + 0x8]
label00003BB0:
00003BB0 7000 moveq.l D0, 0x00
label00003BB2:
00003BB2 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00003BB6 4E75 rts
00003BB8 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00003BBC 594F subq.w A7, 4
00003BBE 266F 001C movea.l A3, [A7 + 0x1C]
00003BC2 246F 0020 movea.l A2, [A7 + 0x20]
00003BC6 6000 00A0 bra +0xA2 /* 00003C68 */
label00003BCA:
00003BCA 206A 000C movea.l A0, [A2 + 0xC]
00003BCE B1EA 0014 cmpa.l A0, [A2 + 0x14]
00003BD2 6514 bcs +0x16 /* 00003BE8 */
00003BD4 2F0A move.l -[A7], A2
00003BD6 4EB9 0000 3CAC jsr [0x00003CAC]
00003BDC 4A80 tst.l D0
00003BDE 584F addq.w A7, 4
00003BE0 6C06 bge +0x8 /* 00003BE8 */
00003BE2 70FF moveq.l D0, 0xFFFFFFFF
00003BE4 6000 00AC bra +0xAE /* 00003C92 */
label00003BE8:
00003BE8 0812 0002 btst.b [A2], 0x2
00003BEC 6604 bne +0x6 /* 00003BF2 */
00003BEE 91C8 sub.l A0, A0
00003BF0 600E bra +0x10 /* 00003C00 */
label00003BF2:
00003BF2 4878 000A push.l 0xA /* '\n' */
00003BF6 2F0B move.l -[A7], A3
00003BF8 4EB9 0000 40C2 jsr [0x000040C2]
00003BFE 504F addq.w A7, 8
label00003C00:
00003C00 2848 movea.l A4, A0
00003C02 200C move.l D0, A4
00003C04 4A80 tst.l D0
00003C06 660E bne +0x10 /* 00003C16 */
00003C08 2E80 move.l [A7], D0
00003C0A 204B movea.l A0, A3
00003C0C 70FF moveq.l D0, 0xFFFFFFFF
label00003C0E:
00003C0E 5280 addq.l D0, 1
00003C10 4A18 tst.b [A0]+
00003C12 66FA bne -0x4 /* 00003C0E */
00003C14 6008 bra +0xA /* 00003C1E */
label00003C16:
00003C16 204C movea.l A0, A4
00003C18 91CB sub.l A0, A3
00003C1A 5288 addq.l A0, 1
00003C1C 2008 move.l D0, A0
label00003C1E:
00003C1E 2600 move.l D3, D0
00003C20 206A 0014 movea.l A0, [A2 + 0x14]
00003C24 91EA 000C sub.l A0, [A2 + 0xC]
00003C28 2808 move.l D4, A0
00003C2A B883 cmp.l D4, D3
00003C2C 6404 bcc +0x6 /* 00003C32 */
00003C2E 99CC sub.l A4, A4
00003C30 2604 move.l D3, D4
label00003C32:
00003C32 206A 000C movea.l A0, [A2 + 0xC]
00003C36 224B movea.l A1, A3
00003C38 2203 move.l D1, D3
00003C3A 2008 move.l D0, A0
00003C3C 4A81 tst.l D1
00003C3E 6706 beq +0x8 /* 00003C46 */
label00003C40:
00003C40 10D9 move.b [A0]+, [A1]+
00003C42 5381 subq.l D1, 1
00003C44 66FA bne -0x4 /* 00003C40 */
label00003C46:
00003C46 D7C3 add.l A3, D3
00003C48 D7AA 000C add.l [A2 + 0xC], D3
00003C4C 200C move.l D0, A4
00003C4E 6718 beq +0x1A /* 00003C68 */
00003C50 2F0A move.l -[A7], A2
00003C52 4EB9 0000 3B04 jsr [0x00003B04]
00003C58 4A80 tst.l D0
00003C5A 584F addq.w A7, 4
00003C5C 670A beq +0xC /* 00003C68 */
00003C5E 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
00003C64 70FF moveq.l D0, 0xFFFFFFFF
00003C66 602A bra +0x2C /* 00003C92 */
label00003C68:
00003C68 4A13 tst.b [A3]
00003C6A 6600 FF5E bne -0xA0 /* 00003BCA */
00003C6E 3012 move.w D0, [A2]
00003C70 0280 0000 0800 andi.l D0, 0x800
00003C76 6718 beq +0x1A /* 00003C90 */
00003C78 256A 0004 0014 move.l [A2 + 0x14], [A2 + 0x4]
00003C7E 2F0A move.l -[A7], A2
00003C80 4EB9 0000 3B04 jsr [0x00003B04]
00003C86 4A80 tst.l D0
00003C88 584F addq.w A7, 4
00003C8A 6704 beq +0x6 /* 00003C90 */
00003C8C 70FF moveq.l D0, 0xFFFFFFFF
00003C8E 6002 bra +0x4 /* 00003C92 */
label00003C90:
00003C90 7000 moveq.l D0, 0x00
label00003C92:
00003C92 584F addq.w A7, 4
00003C94 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00003C98 4E75 rts
00003C9A 2F2F 0004 move.l -[A7], [A7 + 0x4]
00003C9E 4EB9 0000 4288 jsr [0x00004288]
00003CA4 584F addq.w A7, 4
00003CA6 4E75 rts
00003CA8 2F0A move.l -[A7], A2
00003CAA 246F 0008 movea.l A2, [A7 + 0x8]
00003CAE 206A 000C movea.l A0, [A2 + 0xC]
00003CB2 B1EA 0014 cmpa.l A0, [A2 + 0x14]
00003CB6 6406 bcc +0x8 /* 00003CBE */
00003CB8 7000 moveq.l D0, 0x00
00003CBA 245F movea.l A2, [A7]+
00003CBC 4E75 rts
label00003CBE:
00003CBE 3012 move.w D0, [A2]
00003CC0 0280 0000 6000 andi.l D0, 0x6000 /* '`\0' */
00003CC6 0C80 0000 6000 cmpi.l D0, 0x6000 /* '`\0' */
00003CCC 660E bne +0x10 /* 00003CDC */
00003CCE 2F0A move.l -[A7], A2
00003CD0 4EB9 0000 3B04 jsr [0x00003B04]
00003CD6 584F addq.w A7, 4
00003CD8 6000 00A2 bra +0xA4 /* 00003D7C */
label00003CDC:
00003CDC 3012 move.w D0, [A2]
00003CDE 0280 0000 9002 andi.l D0, 0x9002
00003CE4 5580 subq.l D0, 2
00003CE6 671C beq +0x1E /* 00003D04 */
00003CE8 0812 0007 btst.b [A2], 0x7
00003CEC 6608 bne +0xA /* 00003CF6 */
00003CEE 203C 0000 4200 move.l D0, 0x4200 /* 'B\0' */
00003CF4 6006 bra +0x8 /* 00003CFC */
label00003CF6:
00003CF6 203C 0000 0200 move.l D0, 0x200
label00003CFC:
00003CFC 8152 or.w [A2], D0
00003CFE 70FF moveq.l D0, 0xFFFFFFFF
00003D00 245F movea.l A2, [A7]+
00003D02 4E75 rts
label00003D04:
00003D04 4AAA 0004 tst.l [A2 + 0x4]
00003D08 6654 bne +0x56 /* 00003D5E */
00003D0A 4878 1000 push.l 0x1000
00003D0E 4EB9 0000 3F16 jsr [0x00003F16]
00003D14 2548 0004 move.l [A2 + 0x4], A0
00003D18 2008 move.l D0, A0
00003D1A 4A80 tst.l D0
00003D1C 584F addq.w A7, 4
00003D1E 661C bne +0x1E /* 00003D3C */
00003D20 204A movea.l A0, A2
00003D22 41E8 0036 lea.l A0, [A0 + 0x36]
00003D26 2548 0004 move.l [A2 + 0x4], A0
00003D2A 206A 0004 movea.l A0, [A2 + 0x4]
00003D2E 5288 addq.l A0, 1
00003D30 2548 0008 move.l [A2 + 0x8], A0
00003D34 4EB9 0000 39E8 jsr [0x000039E8]
00003D3A 6022 bra +0x24 /* 00003D5E */
label00003D3C:
00003D3C 0052 0040 ori.w [A2], 0x40 /* '@' */
00003D40 206A 0004 movea.l A0, [A2 + 0x4]
00003D44 41E8 1000 lea.l A0, [A0 + 0x1000]
00003D48 2548 0008 move.l [A2 + 0x8], A0
00003D4C 256A 0004 0026 move.l [A2 + 0x26], [A2 + 0x4]
00003D52 256A 0004 002A move.l [A2 + 0x2A], [A2 + 0x4]
00003D58 4EB9 0000 39E8 jsr [0x000039E8]
label00003D5E:
00003D5E 256A 0004 000C move.l [A2 + 0xC], [A2 + 0x4]
00003D64 256A 0004 0010 move.l [A2 + 0x10], [A2 + 0x4]
00003D6A 256A 0008 0014 move.l [A2 + 0x14], [A2 + 0x8]
00003D70 0052 6000 ori.w [A2], 0x6000 /* '`\0' */
00003D74 4EB9 0000 39E8 jsr [0x000039E8]
00003D7A 7000 moveq.l D0, 0x00
label00003D7C:
00003D7C 245F movea.l A2, [A7]+
00003D7E 4E75 rts
fn00003D80:
00003D80 7001 moveq.l D0, 0x01
00003D82 2B40 800A move.l [A5 - 0x7FF6], D0
00003D86 4878 0006 push.l 0x6
00003D8A 4EB9 0000 3864 jsr [0x00003864]
00003D90 4878 0001 push.l 0x1
00003D94 4EB9 0000 37DC jsr [0x000037DC]
00003D9A 504F addq.w A7, 8
00003D9C 4E75 rts
00003D9E 48E7 0018 movem.l -[A7], A3,A4
00003DA2 594F subq.w A7, 4
00003DA4 266F 0010 movea.l A3, [A7 + 0x10]
00003DA8 200B move.l D0, A3
00003DAA 4A80 tst.l D0
00003DAC 6700 009C beq +0x9E /* 00003E4A */
00003DB0 224B movea.l A1, A3
00003DB2 5989 subq.l A1, 4
00003DB4 7008 moveq.l D0, 0x08
00003DB6 B091 cmp.l D0, [A1]
00003DB8 6208 bhi +0xA /* 00003DC2 */
00003DBA 7003 moveq.l D0, 0x03
00003DBC C091 and.l D0, [A1]
00003DBE 4A80 tst.l D0
00003DC0 6704 beq +0x6 /* 00003DC6 */
label00003DC2:
00003DC2 6000 0086 bra +0x88 /* 00003E4A */
label00003DC6:
00003DC6 2E91 move.l [A7], [A1]
00003DC8 4AAD 801A tst.l [A5 - 0x7FE6]
00003DCC 6706 beq +0x8 /* 00003DD4 */
00003DCE B3ED 801A cmpa.l A1, [A5 - 0x7FE6]
00003DD2 640C bcc +0xE /* 00003DE0 */
label00003DD4:
00003DD4 236D 801A 0004 move.l [A1 + 0x4], [A5 - 0x7FE6]
00003DDA 2B49 801A move.l [A5 - 0x7FE6], A1
00003DDE 6044 bra +0x46 /* 00003E24 */
label00003DE0:
00003DE0 266D 801A movea.l A3, [A5 - 0x7FE6]
00003DE4 6004 bra +0x6 /* 00003DEA */
label00003DE6:
00003DE6 266B 0004 movea.l A3, [A3 + 0x4]
label00003DEA:
00003DEA 4AAB 0004 tst.l [A3 + 0x4]
00003DEE 6706 beq +0x8 /* 00003DF6 */
00003DF0 B3EB 0004 cmpa.l A1, [A3 + 0x4]
00003DF4 62F0 bhi -0xE /* 00003DE6 */
label00003DF6:
00003DF6 284B movea.l A4, A3
00003DF8 D9D3 add.l A4, [A3]
00003DFA B3CC cmpa.l A1, A4
00003DFC 654C bcs +0x4E /* 00003E4A */
00003DFE B9C9 cmpa.l A4, A1
00003E00 6608 bne +0xA /* 00003E0A */
00003E02 2011 move.l D0, [A1]
00003E04 D193 add.l [A3], D0
00003E06 224B movea.l A1, A3
00003E08 601A bra +0x1C /* 00003E24 */
label00003E0A:
00003E0A 4AAB 0004 tst.l [A3 + 0x4]
00003E0E 670A beq +0xC /* 00003E1A */
00003E10 2049 movea.l A0, A1
00003E12 D1D1 add.l A0, [A1]
00003E14 B1EB 0004 cmpa.l A0, [A3 + 0x4]
00003E18 6230 bhi +0x32 /* 00003E4A */
label00003E1A:
00003E1A 236B 0004 0004 move.l [A1 + 0x4], [A3 + 0x4]
00003E20 2749 0004 move.l [A3 + 0x4], A1
label00003E24:
00003E24 4AA9 0004 tst.l [A1 + 0x4]
00003E28 6720 beq +0x22 /* 00003E4A */
00003E2A 2049 movea.l A0, A1
00003E2C D1D1 add.l A0, [A1]
00003E2E B1E9 0004 cmpa.l A0, [A1 + 0x4]
00003E32 6616 bne +0x18 /* 00003E4A */
00003E34 42AD 8016 clr.l [A5 - 0x7FEA]
00003E38 2069 0004 movea.l A0, [A1 + 0x4]
00003E3C 2010 move.l D0, [A0]
00003E3E D191 add.l [A1], D0
00003E40 2069 0004 movea.l A0, [A1 + 0x4]
00003E44 2368 0004 0004 move.l [A1 + 0x4], [A0 + 0x4]
label00003E4A:
00003E4A 584F addq.w A7, 4
00003E4C 4CDF 1800 movem.l A3,A4, [A7]+
00003E50 4E75 rts
00003E52 2F03 move.l -[A7], D3
00003E54 262F 0008 move.l D3, [A7 + 0x8]
00003E58 4A83 tst.l D3
00003E5A 6D04 blt +0x6 /* 00003E60 */
00003E5C 2003 move.l D0, D3
00003E5E 6004 bra +0x6 /* 00003E64 */
label00003E60:
00003E60 2003 move.l D0, D3
00003E62 4480 neg.l D0
label00003E64:
00003E64 261F move.l D3, [A7]+
00003E66 4E75 rts
00003E68 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00003E6C 282F 0014 move.l D4, [A7 + 0x14]
label00003E70:
00003E70 246D 8016 movea.l A2, [A5 - 0x7FEA]
00003E74 200A move.l D0, A2
00003E76 4A80 tst.l D0
00003E78 6630 bne +0x32 /* 00003EAA */
00003E7A 45ED 8016 lea.l A2, [A5 - 0x7FEA]
00003E7E 588A addq.l A2, 4
00003E80 6012 bra +0x14 /* 00003E94 */
label00003E82:
00003E82 2052 movea.l A0, [A2]
00003E84 B890 cmp.l D4, [A0]
00003E86 6206 bhi +0x8 /* 00003E8E */
00003E88 204A movea.l A0, A2
00003E8A 6000 0080 bra +0x82 /* 00003F0C */
label00003E8E:
00003E8E 2052 movea.l A0, [A2]
00003E90 5888 addq.l A0, 4
00003E92 2448 movea.l A2, A0
label00003E94:
00003E94 4A92 tst.l [A2]
00003E96 66EA bne -0x14 /* 00003E82 */
00003E98 6036 bra +0x38 /* 00003ED0 */
label00003E9A:
00003E9A 2052 movea.l A0, [A2]
00003E9C B890 cmp.l D4, [A0]
00003E9E 6204 bhi +0x6 /* 00003EA4 */
00003EA0 204A movea.l A0, A2
00003EA2 6068 bra +0x6A /* 00003F0C */
label00003EA4:
00003EA4 2052 movea.l A0, [A2]
00003EA6 5888 addq.l A0, 4
00003EA8 2448 movea.l A2, A0
label00003EAA:
00003EAA 4A92 tst.l [A2]
00003EAC 66EC bne -0x12 /* 00003E9A */
00003EAE 206D 8016 movea.l A0, [A5 - 0x7FEA]
00003EB2 2650 movea.l A3, [A0]
00003EB4 45ED 8016 lea.l A2, [A5 - 0x7FEA]
00003EB8 588A addq.l A2, 4
00003EBA 6010 bra +0x12 /* 00003ECC */
label00003EBC:
00003EBC 2052 movea.l A0, [A2]
00003EBE B890 cmp.l D4, [A0]
00003EC0 6204 bhi +0x6 /* 00003EC6 */
00003EC2 204A movea.l A0, A2
00003EC4 6046 bra +0x48 /* 00003F0C */
label00003EC6:
00003EC6 2052 movea.l A0, [A2]
00003EC8 5888 addq.l A0, 4
00003ECA 2448 movea.l A2, A0
label00003ECC:
00003ECC B7D2 cmpa.l A3, [A2]
00003ECE 66EC bne -0x12 /* 00003EBC */
label00003ED0:
00003ED0 263C 0000 8000 move.l D3, 0x8000
label00003ED6:
00003ED6 B684 cmp.l D3, D4
00003ED8 6402 bcc +0x4 /* 00003EDC */
00003EDA 2604 move.l D3, D4
label00003EDC:
00003EDC 2F03 move.l -[A7], D3
00003EDE 4EB9 0000 3FA8 jsr [0x00003FA8]
00003EE4 2648 movea.l A3, A0
00003EE6 2008 move.l D0, A0
00003EE8 4A80 tst.l D0
00003EEA 584F addq.w A7, 4
00003EEC 660C bne +0xE /* 00003EFA */
00003EEE B684 cmp.l D3, D4
00003EF0 6604 bne +0x6 /* 00003EF6 */
00003EF2 91C8 sub.l A0, A0
00003EF4 6016 bra +0x18 /* 00003F0C */
label00003EF6:
00003EF6 E28B lsr D3, 1
00003EF8 60DC bra -0x22 /* 00003ED6 */
label00003EFA:
00003EFA 2683 move.l [A3], D3
00003EFC 486B 0004 pea.l [A3 + 0x4]
00003F00 4EB9 0000 3DA2 jsr [0x00003DA2]
00003F06 584F addq.w A7, 4
00003F08 6000 FF66 bra -0x98 /* 00003E70 */
label00003F0C:
00003F0C 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00003F10 4E75 rts
00003F12 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00003F16 282F 0014 move.l D4, [A7 + 0x14]
00003F1A 70FC moveq.l D0, 0xFFFFFFFC
00003F1C 2604 move.l D3, D4
00003F1E 5E83 addq.l D3, 7
00003F20 C680 and.l D3, D0
00003F22 B684 cmp.l D3, D4
00003F24 6204 bhi +0x6 /* 00003F2A */
00003F26 91C8 sub.l A0, A0
00003F28 604E bra +0x50 /* 00003F78 */
label00003F2A:
00003F2A 7008 moveq.l D0, 0x08
00003F2C B680 cmp.l D3, D0
00003F2E 6402 bcc +0x4 /* 00003F32 */
00003F30 7608 moveq.l D3, 0x08
label00003F32:
00003F32 2F03 move.l -[A7], D3
00003F34 4EB9 0000 3E6C jsr [0x00003E6C]
00003F3A 2648 movea.l A3, A0
00003F3C 2008 move.l D0, A0
00003F3E 4A80 tst.l D0
00003F40 584F addq.w A7, 4
00003F42 6604 bne +0x6 /* 00003F48 */
00003F44 91C8 sub.l A0, A0
00003F46 6030 bra +0x32 /* 00003F78 */
label00003F48:
00003F48 2453 movea.l A2, [A3]
00003F4A 2012 move.l D0, [A2]
00003F4C 5180 subq.l D0, 8
00003F4E B083 cmp.l D0, D3
00003F50 6406 bcc +0x8 /* 00003F58 */
00003F52 26AA 0004 move.l [A3], [A2 + 0x4]
00003F56 6018 bra +0x1A /* 00003F70 */
label00003F58:
00003F58 204A movea.l A0, A2
00003F5A D1C3 add.l A0, D3
00003F5C 2688 move.l [A3], A0
00003F5E 2053 movea.l A0, [A3]
00003F60 216A 0004 0004 move.l [A0 + 0x4], [A2 + 0x4]
00003F66 2012 move.l D0, [A2]
00003F68 9083 sub.l D0, D3
00003F6A 2053 movea.l A0, [A3]
00003F6C 2080 move.l [A0], D0
00003F6E 2483 move.l [A2], D3
label00003F70:
00003F70 2B4B 8016 move.l [A5 - 0x7FEA], A3
00003F74 204A movea.l A0, A2
00003F76 5888 addq.l A0, 4
label00003F78:
00003F78 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00003F7C 4E75 rts
00003F7E 202D 9D18 move.l D0, [A5 - 0x62E8]
00003F82 223C 41C6 4E6D move.l D1, 0x41C64E6D
00003F88 4EB9 0000 04B8 jsr [0x000004B8]
00003F8E 0680 0000 3039 addi.l D0, 0x3039 /* '09' */
00003F94 2B40 9D18 move.l [A5 - 0x62E8], D0
00003F98 7210 moveq.l D1, 0x10
00003F9A E2A8 lsr D0, D1
00003F9C 0280 0000 7FFF andi.l D0, 0x7FFF
00003FA2 4E75 rts
00003FA4 2F03 move.l -[A7], D3
00003FA6 594F subq.w A7, 4
00003FA8 262F 000C move.l D3, [A7 + 0xC]
00003FAC 4A83 tst.l D3
00003FAE 6710 beq +0x12 /* 00003FC0 */
00003FB0 2003 move.l D0, D3
00003FB2 A11E syscall NewPtr, flags=1
00003FB4 2E88 move.l [A7], A0
00003FB6 2008 move.l D0, A0
00003FB8 4A80 tst.l D0
00003FBA 6704 beq +0x6 /* 00003FC0 */
00003FBC 2057 movea.l A0, [A7]
00003FBE 6002 bra +0x4 /* 00003FC2 */
label00003FC0:
00003FC0 91C8 sub.l A0, A0
label00003FC2:
00003FC2 584F addq.w A7, 4
00003FC4 261F move.l D3, [A7]+
00003FC6 4E75 rts
00003FC8 48E7 1030 movem.l -[A7], D3,A2,A3
00003FCC 262F 0018 move.l D3, [A7 + 0x18]
00003FD0 246F 0010 movea.l A2, [A7 + 0x10]
00003FD4 266F 0014 movea.l A3, [A7 + 0x14]
00003FD8 601A bra +0x1C /* 00003FF4 */
label00003FDA:
00003FDA 1012 move.b D0, [A2]
00003FDC B013 cmp.b D0, [A3]
00003FDE 670E beq +0x10 /* 00003FEE */
00003FE0 1012 move.b D0, [A2]
00003FE2 B013 cmp.b D0, [A3]
00003FE4 6504 bcs +0x6 /* 00003FEA */
00003FE6 7001 moveq.l D0, 0x01
00003FE8 6002 bra +0x4 /* 00003FEC */
label00003FEA:
00003FEA 70FF moveq.l D0, 0xFFFFFFFF
label00003FEC:
00003FEC 600C bra +0xE /* 00003FFA */
label00003FEE:
00003FEE 528A addq.l A2, 1
00003FF0 528B addq.l A3, 1
00003FF2 5383 subq.l D3, 1
label00003FF4:
00003FF4 4A83 tst.l D3
00003FF6 66E2 bne -0x1C /* 00003FDA */
00003FF8 7000 moveq.l D0, 0x00
label00003FFA:
00003FFA 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00003FFE 4E75 rts
fn00004000:
00004000 206F 0008 movea.l A0, [A7 + 0x8]
00004004 226F 0004 movea.l A1, [A7 + 0x4]
00004008 202F 000C move.l D0, [A7 + 0xC]
0000400C A22E syscall BlockMove/BlockMoveData, flags=2
0000400E 206F 0004 movea.l A0, [A7 + 0x4]
00004012 4E75 rts
fn00004014:
00004014 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00004018 226F 0014 movea.l A1, [A7 + 0x14]
0000401C 282F 001C move.l D4, [A7 + 0x1C]
00004020 2049 movea.l A0, A1
00004022 1A2F 001B move.b D5, [A7 + 0x1B]
00004026 7C00 moveq.l D6, 0x00
00004028 7400 moveq.l D2, 0x00
0000402A 4A84 tst.l D4
0000402C 6700 0088 beq +0x8A /* 000040B6 */
00004030 4A05 tst.b D5
00004032 6722 beq +0x24 /* 00004056 */
00004034 7000 moveq.l D0, 0x00
00004036 1005 move.b D0, D5
00004038 48C0 ext.l D0
0000403A E188 lsl D0, 8
0000403C 7C00 moveq.l D6, 0x00
0000403E 1C05 move.b D6, D5
00004040 8C80 or.l D6, D0
00004042 7000 moveq.l D0, 0x00
00004044 3006 move.w D0, D6
00004046 7410 moveq.l D2, 0x10
00004048 E5A8 lsl D0, D2
0000404A 7400 moveq.l D2, 0x00
0000404C 3406 move.w D2, D6
0000404E 8480 or.l D2, D0
00004050 6004 bra +0x6 /* 00004056 */
label00004052:
00004052 5384 subq.l D4, 1
00004054 10C5 move.b [A0]+, D5
label00004056:
00004056 4A84 tst.l D4
00004058 6708 beq +0xA /* 00004062 */
0000405A 7003 moveq.l D0, 0x03
0000405C 2208 move.l D1, A0
0000405E C280 and.l D1, D0
00004060 66F0 bne -0xE /* 00004052 */
label00004062:
00004062 2004 move.l D0, D4
00004064 EA88 lsr D0, 5
00004066 2E00 move.l D7, D0
00004068 4A80 tst.l D0
0000406A 6724 beq +0x26 /* 00004090 */
label0000406C:
0000406C 2082 move.l [A0], D2
0000406E 5888 addq.l A0, 4
00004070 2082 move.l [A0], D2
00004072 5888 addq.l A0, 4
00004074 2082 move.l [A0], D2
00004076 5888 addq.l A0, 4
00004078 2082 move.l [A0], D2
0000407A 5888 addq.l A0, 4
0000407C 2082 move.l [A0], D2
0000407E 5888 addq.l A0, 4
00004080 2082 move.l [A0], D2
00004082 5888 addq.l A0, 4
00004084 2082 move.l [A0], D2
00004086 5888 addq.l A0, 4
00004088 2082 move.l [A0], D2
0000408A 5888 addq.l A0, 4
0000408C 5387 subq.l D7, 1
0000408E 66DC bne -0x22 /* 0000406C */
label00004090:
00004090 701F moveq.l D0, 0x1F
00004092 C084 and.l D0, D4
00004094 E488 lsr D0, 2
00004096 2E00 move.l D7, D0
00004098 4A80 tst.l D0
0000409A 6708 beq +0xA /* 000040A4 */
label0000409C:
0000409C 2082 move.l [A0], D2
0000409E 5888 addq.l A0, 4
000040A0 5387 subq.l D7, 1
000040A2 66F8 bne -0x6 /* 0000409C */
label000040A4:
000040A4 7002 moveq.l D0, 0x02
000040A6 C084 and.l D0, D4
000040A8 6704 beq +0x6 /* 000040AE */
000040AA 3086 move.w [A0], D6
000040AC 5488 addq.l A0, 2
label000040AE:
000040AE 7001 moveq.l D0, 0x01
000040B0 C084 and.l D0, D4
000040B2 6702 beq +0x4 /* 000040B6 */
000040B4 1085 move.b [A0], D5
label000040B6:
000040B6 2049 movea.l A0, A1
000040B8 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
000040BC 4E75 rts
000040BE 554F subq.w A7, 2
000040C0 206F 0006 movea.l A0, [A7 + 0x6]
000040C4 1F6F 000D 0001 move.b [A7 + 0x1], [A7 + 0xD]
000040CA 600C bra +0xE /* 000040D8 */
label000040CC:
000040CC 4A10 tst.b [A0]
000040CE 6606 bne +0x8 /* 000040D6 */
000040D0 91C8 sub.l A0, A0
000040D2 544F addq.w A7, 2
000040D4 4E75 rts
label000040D6:
000040D6 5288 addq.l A0, 1
label000040D8:
000040D8 1010 move.b D0, [A0]
000040DA B02F 0001 cmp.b D0, [A7 + 0x1]
000040DE 66EC bne -0x12 /* 000040CC */
000040E0 544F addq.w A7, 2
000040E2 4E75 rts
000040E4 42A7 clr.l -[A7]
000040E6 4EB9 0000 37DC jsr [0x000037DC]
000040EC 584F addq.w A7, 4
000040EE 4E75 rts
000040F0 4A6D 801E tst.w [A5 - 0x7FE2]
000040F4 660E bne +0x10 /* 00004104 */
000040F6 41F9 0000 40E8 lea.l A0, [0x000040E8]
000040FC 2B48 2434 move.l [A5 + 0x2434], A0
00004100 526D 801E addq.w [A5 - 0x7FE2], 1
label00004104:
00004104 4E75 rts
00004106 48E7 1800 movem.l -[A7], D3,D4
0000410A 4FEF FF48 lea.l A7, [A7 - 0xB8]
0000410E 282F 00C4 move.l D4, [A7 + 0xC4]
00004112 4A84 tst.l D4
00004114 6D0A blt +0xC /* 00004120 */
00004116 7002 moveq.l D0, 0x02
00004118 B880 cmp.l D4, D0
0000411A 6E04 bgt +0x6 /* 00004120 */
0000411C 7000 moveq.l D0, 0x00
0000411E 6054 bra +0x56 /* 00004174 */
label00004120:
00004120 426F 001C clr.w [A7 + 0x1C]
00004124 3F44 0018 move.w [A7 + 0x18], D4
00004128 42AF 0012 clr.l [A7 + 0x12]
0000412C 41D7 lea.l A0, [A7]
0000412E 7008 moveq.l D0, 0x08
00004130 A260 syscall FSDispatch/HFSDispatch, flags=2
00004132 3600 move.w D3, D0
00004134 4A43 tst.w D3
00004136 6626 bne +0x28 /* 0000415E */
00004138 3F6F 0016 0054 move.w [A7 + 0x54], [A7 + 0x16]
0000413E 3F44 0056 move.w [A7 + 0x56], D4
00004142 41EF 003E lea.l A0, [A7 + 0x3E]
00004146 A001 syscall Close
00004148 3600 move.w D3, D0
0000414A 4A43 tst.w D3
0000414C 6610 bne +0x12 /* 0000415E */
0000414E 42AF 0050 clr.l [A7 + 0x50]
00004152 3F6F 0016 0054 move.w [A7 + 0x54], [A7 + 0x16]
00004158 41EF 003E lea.l A0, [A7 + 0x3E]
0000415C A013 syscall FlushVol
label0000415E:
0000415E 4A43 tst.w D3
00004160 6708 beq +0xA /* 0000416A */
00004162 3003 move.w D0, D3
00004164 48C0 ext.l D0
00004166 2B40 800E move.l [A5 - 0x7FF2], D0
label0000416A:
0000416A 4A43 tst.w D3
0000416C 6704 beq +0x6 /* 00004172 */
0000416E 70FF moveq.l D0, 0xFFFFFFFF
00004170 6002 bra +0x4 /* 00004174 */
label00004172:
00004172 7000 moveq.l D0, 0x00
label00004174:
00004174 4FEF 00B8 lea.l A7, [A7 + 0xB8]
00004178 4CDF 0018 movem.l D3,D4, [A7]+
0000417C 4E75 rts
0000417E 48E7 1E00 movem.l -[A7], D3,D4,D5,D6
00004182 4FEF FFCE lea.l A7, [A7 - 0x32]
00004186 282F 0046 move.l D4, [A7 + 0x46]
0000418A 2A2F 004A move.l D5, [A7 + 0x4A]
0000418E 2C2F 004E move.l D6, [A7 + 0x4E]
00004192 4A84 tst.l D4
00004194 6D0C blt +0xE /* 000041A2 */
00004196 7002 moveq.l D0, 0x02
00004198 B880 cmp.l D4, D0
0000419A 6E06 bgt +0x8 /* 000041A2 */
0000419C 70FF moveq.l D0, 0xFFFFFFFF
0000419E 6000 00DA bra +0xDC /* 0000427A */
label000041A2:
000041A2 3F44 0018 move.w [A7 + 0x18], D4
000041A6 2F45 002E move.l [A7 + 0x2E], D5
000041AA 2006 move.l D0, D6
000041AC 670A beq +0xC /* 000041B8 */
000041AE 5380 subq.l D0, 1
000041B0 670E beq +0x10 /* 000041C0 */
000041B2 5380 subq.l D0, 1
000041B4 6712 beq +0x14 /* 000041C8 */
000041B6 6016 bra +0x18 /* 000041CE */
label000041B8:
000041B8 3F7C 0001 002C move.w [A7 + 0x2C], 0x1
000041BE 600E bra +0x10 /* 000041CE */
label000041C0:
000041C0 3F7C 0003 002C move.w [A7 + 0x2C], 0x3
000041C6 6006 bra +0x8 /* 000041CE */
label000041C8:
000041C8 3F7C 0002 002C move.w [A7 + 0x2C], 0x2
label000041CE:
000041CE 41D7 lea.l A0, [A7]
000041D0 A044 syscall SetFPos
000041D2 3600 move.w D3, D0
000041D4 0C43 FFD9 cmpi.w D3, 0xFFD9
000041D8 6600 0088 bne +0x8A /* 00004262 */
000041DC 3F44 0018 move.w [A7 + 0x18], D4
000041E0 2006 move.l D0, D6
000041E2 670A beq +0xC /* 000041EE */
000041E4 5380 subq.l D0, 1
000041E6 670C beq +0xE /* 000041F4 */
000041E8 5380 subq.l D0, 1
000041EA 6722 beq +0x24 /* 0000420E */
000041EC 6038 bra +0x3A /* 00004226 */
label000041EE:
000041EE 2F45 001C move.l [A7 + 0x1C], D5
000041F2 6032 bra +0x34 /* 00004226 */
label000041F4:
000041F4 41D7 lea.l A0, [A7]
000041F6 A018 syscall GetFPos
000041F8 3600 move.w D3, D0
000041FA 4A43 tst.w D3
000041FC 6628 bne +0x2A /* 00004226 */
000041FE 3F44 0018 move.w [A7 + 0x18], D4
00004202 202F 002E move.l D0, [A7 + 0x2E]
00004206 D085 add.l D0, D5
00004208 2F40 001C move.l [A7 + 0x1C], D0
0000420C 6018 bra +0x1A /* 00004226 */
label0000420E:
0000420E 41D7 lea.l A0, [A7]
00004210 A011 syscall GetEOF
00004212 3600 move.w D3, D0
00004214 4A43 tst.w D3
00004216 660E bne +0x10 /* 00004226 */
00004218 3F44 0018 move.w [A7 + 0x18], D4
0000421C 206F 001C movea.l A0, [A7 + 0x1C]
00004220 D1C5 add.l A0, D5
00004222 2F48 001C move.l [A7 + 0x1C], A0
label00004226:
00004226 41D7 lea.l A0, [A7]
00004228 A012 syscall SetEOF
0000422A 3600 move.w D3, D0
0000422C 4A43 tst.w D3
0000422E 6632 bne +0x34 /* 00004262 */
00004230 3F44 0018 move.w [A7 + 0x18], D4
00004234 2F45 002E move.l [A7 + 0x2E], D5
00004238 2006 move.l D0, D6
0000423A 670A beq +0xC /* 00004246 */
0000423C 5380 subq.l D0, 1
0000423E 670E beq +0x10 /* 0000424E */
00004240 5380 subq.l D0, 1
00004242 6712 beq +0x14 /* 00004256 */
00004244 6016 bra +0x18 /* 0000425C */
label00004246:
00004246 3F7C 0001 002C move.w [A7 + 0x2C], 0x1
0000424C 600E bra +0x10 /* 0000425C */
label0000424E:
0000424E 3F7C 0003 002C move.w [A7 + 0x2C], 0x3
00004254 6006 bra +0x8 /* 0000425C */
label00004256:
00004256 3F7C 0002 002C move.w [A7 + 0x2C], 0x2
label0000425C:
0000425C 41D7 lea.l A0, [A7]
0000425E A044 syscall SetFPos
00004260 3600 move.w D3, D0
label00004262:
00004262 4A43 tst.w D3
00004264 6708 beq +0xA /* 0000426E */
00004266 3003 move.w D0, D3
00004268 48C0 ext.l D0
0000426A 2B40 800E move.l [A5 - 0x7FF2], D0
label0000426E:
0000426E 4A43 tst.w D3
00004270 6704 beq +0x6 /* 00004276 */
00004272 70FF moveq.l D0, 0xFFFFFFFF
00004274 6004 bra +0x6 /* 0000427A */
label00004276:
00004276 202F 002E move.l D0, [A7 + 0x2E]
label0000427A:
0000427A 4FEF 0032 lea.l A7, [A7 + 0x32]
0000427E 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+
00004282 4E75 rts
00004284 48E7 1030 movem.l -[A7], D3,A2,A3
00004288 4FEF FEB0 lea.l A7, [A7 - 0x150]
0000428C 266F 0160 movea.l A3, [A7 + 0x160]
00004290 45EF 0050 lea.l A2, [A7 + 0x50]
00004294 528A addq.l A2, 1
00004296 6002 bra +0x4 /* 0000429A */
label00004298:
00004298 14DB move.b [A2]+, [A3]+
label0000429A:
0000429A 4A13 tst.b [A3]
0000429C 66FA bne -0x4 /* 00004298 */
0000429E 4212 clr.b [A2]
000042A0 41EF 0050 lea.l A0, [A7 + 0x50]
000042A4 224A movea.l A1, A2
000042A6 93C8 sub.l A1, A0
000042A8 5389 subq.l A1, 1
000042AA 2009 move.l D0, A1
000042AC 1F40 0050 move.b [A7 + 0x50], D0
000042B0 2F48 0012 move.l [A7 + 0x12], A0
000042B4 426F 0016 clr.w [A7 + 0x16]
000042B8 422F 001A clr.b [A7 + 0x1A]
000042BC 41D7 lea.l A0, [A7]
000042BE A009 syscall Delete/PBHDelete/HDelete
000042C0 3600 move.w D3, D0
000042C2 4A43 tst.w D3
000042C4 6708 beq +0xA /* 000042CE */
000042C6 3003 move.w D0, D3
000042C8 48C0 ext.l D0
000042CA 2B40 800E move.l [A5 - 0x7FF2], D0
label000042CE:
000042CE 4A43 tst.w D3
000042D0 6704 beq +0x6 /* 000042D6 */
000042D2 70FF moveq.l D0, 0xFFFFFFFF
000042D4 6002 bra +0x4 /* 000042D8 */
label000042D6:
000042D6 7000 moveq.l D0, 0x00
label000042D8:
000042D8 4FEF 0150 lea.l A7, [A7 + 0x150]
000042DC 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000042E0 4E75 rts
000042E2 48E7 1820 movem.l -[A7], D3,D4,A2
000042E6 4FEF FFCE lea.l A7, [A7 - 0x32]
000042EA 262F 0042 move.l D3, [A7 + 0x42]
000042EE 246F 0046 movea.l A2, [A7 + 0x46]
000042F2 282F 004A move.l D4, [A7 + 0x4A]
000042F6 7001 moveq.l D0, 0x01
000042F8 B680 cmp.l D3, D0
000042FA 6706 beq +0x8 /* 00004302 */
000042FC 7002 moveq.l D0, 0x02
000042FE B680 cmp.l D3, D0
00004300 6632 bne +0x34 /* 00004334 */
label00004302:
00004302 3F03 move.w -[A7], D3
00004304 4EB9 0000 474A jsr [0x0000474A]
0000430A 4A40 tst.w D0
0000430C 544F addq.w A7, 2
0000430E 6620 bne +0x22 /* 00004330 */
00004310 4EB9 0000 40F4 jsr [0x000040F4]
00004316 486D 9B70 pea.l [A5 - 0x6490]
0000431A 4EB9 0000 3B04 jsr [0x00003B04]
00004320 2F04 move.l -[A7], D4
00004322 2F0A move.l -[A7], A2
00004324 4EB9 0000 4750 jsr [0x00004750]
0000432A 4FEF 003E lea.l A7, [A7 + 0x3E]
0000432E 603E bra +0x40 /* 0000436E */
label00004330:
00004330 70FF moveq.l D0, 0xFFFFFFFF
00004332 6036 bra +0x38 /* 0000436A */
label00004334:
00004334 3F43 0018 move.w [A7 + 0x18], D3
00004338 2F4A 0020 move.l [A7 + 0x20], A2
0000433C 2F44 0024 move.l [A7 + 0x24], D4
00004340 426F 002C clr.w [A7 + 0x2C]
00004344 42AF 002E clr.l [A7 + 0x2E]
00004348 426F 0016 clr.w [A7 + 0x16]
0000434C 41D7 lea.l A0, [A7]
0000434E A003 syscall Write
00004350 3600 move.w D3, D0
00004352 4A43 tst.w D3
00004354 6708 beq +0xA /* 0000435E */
00004356 3003 move.w D0, D3
00004358 48C0 ext.l D0
0000435A 2B40 800E move.l [A5 - 0x7FF2], D0
label0000435E:
0000435E 4A43 tst.w D3
00004360 6704 beq +0x6 /* 00004366 */
00004362 70FF moveq.l D0, 0xFFFFFFFF
00004364 6004 bra +0x6 /* 0000436A */
label00004366:
00004366 202F 0028 move.l D0, [A7 + 0x28]
label0000436A:
0000436A 4FEF 0032 lea.l A7, [A7 + 0x32]
label0000436E:
0000436E 4CDF 0418 movem.l D3,D4,A2, [A7]+
00004372 4E75 rts
00004374 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00004378 266F 0018 movea.l A3, [A7 + 0x18]
0000437C 286F 001C movea.l A4, [A7 + 0x1C]
00004380 282F 0020 move.l D4, [A7 + 0x20]
00004384 3013 move.w D0, [A3]
00004386 7220 moveq.l D1, 0x20
00004388 C081 and.l D0, D1
0000438A 6626 bne +0x28 /* 000043B2 */
0000438C 2604 move.l D3, D4
0000438E 244C movea.l A2, A4
00004390 6018 bra +0x1A /* 000043AA */
label00004392:
00004392 0C12 000A cmpi.b [A2], 0xA /* '\n' */
00004396 6606 bne +0x8 /* 0000439E */
00004398 14BC 000D move.b [A2], 0xD /* '\r' */
0000439C 600A bra +0xC /* 000043A8 */
label0000439E:
0000439E 0C12 000D cmpi.b [A2], 0xD /* '\r' */
000043A2 6604 bne +0x6 /* 000043A8 */
000043A4 14BC 000A move.b [A2], 0xA /* '\n' */
label000043A8:
000043A8 528A addq.l A2, 1
label000043AA:
000043AA 2003 move.l D0, D3
000043AC 5383 subq.l D3, 1
000043AE 4A80 tst.l D0
000043B0 66E0 bne -0x1E /* 00004392 */
label000043B2:
000043B2 3013 move.w D0, [A3]
000043B4 7204 moveq.l D1, 0x04
000043B6 C081 and.l D0, D1
000043B8 6720 beq +0x22 /* 000043DA */
000043BA 4878 0002 push.l 0x2
000043BE 42A7 clr.l -[A7]
000043C0 302B 0002 move.w D0, [A3 + 0x2]
000043C4 48C0 ext.l D0
000043C6 2F00 move.l -[A7], D0
000043C8 4EB9 0000 4182 jsr [0x00004182]
000043CE 5280 addq.l D0, 1
000043D0 4FEF 000C lea.l A7, [A7 + 0xC]
000043D4 6604 bne +0x6 /* 000043DA */
000043D6 70FF moveq.l D0, 0xFFFFFFFF
000043D8 6016 bra +0x18 /* 000043F0 */
label000043DA:
000043DA 2F04 move.l -[A7], D4
000043DC 2F0C move.l -[A7], A4
000043DE 302B 0002 move.w D0, [A3 + 0x2]
000043E2 48C0 ext.l D0
000043E4 2F00 move.l -[A7], D0
000043E6 4EB9 0000 42E6 jsr [0x000042E6]
000043EC 4FEF 000C lea.l A7, [A7 + 0xC]
label000043F0:
000043F0 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
000043F4 4E75 rts
000043F6 4FEF FFF6 lea.l A7, [A7 - 0xA]
000043FA 2EAF 0012 move.l [A7], [A7 + 0x12]
000043FE 2F6F 0016 0004 move.l [A7 + 0x4], [A7 + 0x16]
00004404 3F6F 001A 0008 move.w [A7 + 0x8], [A7 + 0x1A]
0000440A 4857 pea.l [A7]
0000440C 3F3C 001A move.w -[A7], 0x1A
00004410 A9EC syscall Pack5/Elems68K
00004412 206F 000E movea.l A0, [A7 + 0xE]
00004416 2097 move.l [A0], [A7]
00004418 216F 0004 0004 move.l [A0 + 0x4], [A7 + 0x4]
0000441E 316F 0008 0008 move.w [A0 + 0x8], [A7 + 0x8]
00004424 4FEF 000A lea.l A7, [A7 + 0xA]
00004428 4E75 rts
0000442A 4FEF FFF6 lea.l A7, [A7 - 0xA]
0000442E 2EAF 0012 move.l [A7], [A7 + 0x12]
00004432 2F6F 0016 0004 move.l [A7 + 0x4], [A7 + 0x16]
00004438 3F6F 001A 0008 move.w [A7 + 0x8], [A7 + 0x1A]
0000443E 4857 pea.l [A7]
00004440 3F3C 0018 move.w -[A7], 0x18
00004444 A9EC syscall Pack5/Elems68K
00004446 206F 000E movea.l A0, [A7 + 0xE]
0000444A 2097 move.l [A0], [A7]
0000444C 216F 0004 0004 move.l [A0 + 0x4], [A7 + 0x4]
00004452 316F 0008 0008 move.w [A0 + 0x8], [A7 + 0x8]
00004458 4FEF 000A lea.l A7, [A7 + 0xA]
0000445C 4E75 rts
0000445E 4FEF FFF6 lea.l A7, [A7 - 0xA]
00004462 2EAF 0012 move.l [A7], [A7 + 0x12]
00004466 2F6F 0016 0004 move.l [A7 + 0x4], [A7 + 0x16]
0000446C 3F6F 001A 0008 move.w [A7 + 0x8], [A7 + 0x1A]
00004472 4857 pea.l [A7]
00004474 3F3C 001C move.w -[A7], 0x1C
00004478 A9EC syscall Pack5/Elems68K
0000447A 206F 000E movea.l A0, [A7 + 0xE]
0000447E 2097 move.l [A0], [A7]
00004480 216F 0004 0004 move.l [A0 + 0x4], [A7 + 0x4]
00004486 316F 0008 0008 move.w [A0 + 0x8], [A7 + 0x8]
0000448C 4FEF 000A lea.l A7, [A7 + 0xA]
00004490 4E75 rts
00004492 4FEF FFF6 lea.l A7, [A7 - 0xA]
00004496 2EAF 0012 move.l [A7], [A7 + 0x12]
0000449A 2F6F 0016 0004 move.l [A7 + 0x4], [A7 + 0x16]
000044A0 3F6F 001A 0008 move.w [A7 + 0x8], [A7 + 0x1A]
000044A6 4857 pea.l [A7]
000044A8 3F3C 001E move.w -[A7], 0x1E
000044AC A9EC syscall Pack5/Elems68K
000044AE 206F 000E movea.l A0, [A7 + 0xE]
000044B2 2097 move.l [A0], [A7]
000044B4 216F 0004 0004 move.l [A0 + 0x4], [A7 + 0x4]
000044BA 316F 0008 0008 move.w [A0 + 0x8], [A7 + 0x8]
000044C0 4FEF 000A lea.l A7, [A7 + 0xA]
000044C4 4E75 rts
000044C6 4FEF FFF6 lea.l A7, [A7 - 0xA]
000044CA 2EAF 0012 move.l [A7], [A7 + 0x12]
000044CE 2F6F 0016 0004 move.l [A7 + 0x4], [A7 + 0x16]
000044D4 3F6F 001A 0008 move.w [A7 + 0x8], [A7 + 0x1A]
000044DA 4857 pea.l [A7]
000044DC 3F3C 0008 move.w -[A7], 0x8
000044E0 A9EC syscall Pack5/Elems68K
000044E2 206F 000E movea.l A0, [A7 + 0xE]
000044E6 2097 move.l [A0], [A7]
000044E8 216F 0004 0004 move.l [A0 + 0x4], [A7 + 0x4]
000044EE 316F 0008 0008 move.w [A0 + 0x8], [A7 + 0x8]
000044F4 4FEF 000A lea.l A7, [A7 + 0xA]
000044F8 4E75 rts
000044FA 4FEF FFEC lea.l A7, [A7 - 0x14]
000044FE 2F6F 001C 000A move.l [A7 + 0xA], [A7 + 0x1C]
00004504 2F6F 0020 000E move.l [A7 + 0xE], [A7 + 0x20]
0000450A 3F6F 0024 0012 move.w [A7 + 0x12], [A7 + 0x24]
00004510 4297 clr.l [A7]
00004512 42AF 0004 clr.l [A7 + 0x4]
00004516 426F 0008 clr.w [A7 + 0x8]
0000451A 4857 pea.l [A7]
0000451C 486F 0020 pea.l [A7 + 0x20]
00004520 3F3C 0008 move.w -[A7], 0x8
00004524 A9EB syscall Pack4/FP68K
00004526 6C06 bge +0x8 /* 0000452E */
00004528 7021 moveq.l D0, 0x21
0000452A 2B40 800E move.l [A5 - 0x7FF2], D0
label0000452E:
0000452E 486F 000A pea.l [A7 + 0xA]
00004532 3F3C 0000 move.w -[A7], 0x0
00004536 A9EC syscall Pack5/Elems68K
00004538 206F 0018 movea.l A0, [A7 + 0x18]
0000453C 20AF 000A move.l [A0], [A7 + 0xA]
00004540 216F 000E 0004 move.l [A0 + 0x4], [A7 + 0xE]
00004546 316F 0012 0008 move.w [A0 + 0x8], [A7 + 0x12]
0000454C 4FEF 0014 lea.l A7, [A7 + 0x14]
00004550 4E75 rts
00004552 4FEF FFEC lea.l A7, [A7 - 0x14]
00004556 2F6F 001C 000A move.l [A7 + 0xA], [A7 + 0x1C]
0000455C 2F6F 0020 000E move.l [A7 + 0xE], [A7 + 0x20]
00004562 3F6F 0024 0012 move.w [A7 + 0x12], [A7 + 0x24]
00004568 486F 000A pea.l [A7 + 0xA]
0000456C 3F3C 0016 move.w -[A7], 0x16
00004570 A9EB syscall Pack4/FP68K
00004572 206F 0026 movea.l A0, [A7 + 0x26]
00004576 20AF 000A move.l [A0], [A7 + 0xA]
0000457A 216F 000E 0004 move.l [A0 + 0x4], [A7 + 0xE]
00004580 316F 0012 0008 move.w [A0 + 0x8], [A7 + 0x12]
00004586 2EAF 001C move.l [A7], [A7 + 0x1C]
0000458A 2F6F 0020 0004 move.l [A7 + 0x4], [A7 + 0x20]
00004590 3F6F 0024 0008 move.w [A7 + 0x8], [A7 + 0x24]
00004596 486F 000A pea.l [A7 + 0xA]
0000459A 486F 0004 pea.l [A7 + 0x4]
0000459E 3F3C 0002 move.w -[A7], 0x2
000045A2 A9EB syscall Pack4/FP68K
000045A4 206F 0018 movea.l A0, [A7 + 0x18]
000045A8 2097 move.l [A0], [A7]
000045AA 216F 0004 0004 move.l [A0 + 0x4], [A7 + 0x4]
000045B0 316F 0008 0008 move.w [A0 + 0x8], [A7 + 0x8]
000045B6 4FEF 0014 lea.l A7, [A7 + 0x14]
000045BA 4E75 rts
000045BC 2F0A move.l -[A7], A2
000045BE 4FEF FFCE lea.l A7, [A7 - 0x32]
000045C2 246F 003A movea.l A2, [A7 + 0x3A]
000045C6 2F6F 003E 0028 move.l [A7 + 0x28], [A7 + 0x3E]
000045CC 2F6F 0042 002C move.l [A7 + 0x2C], [A7 + 0x42]
000045D2 3F6F 0046 0030 move.w [A7 + 0x30], [A7 + 0x46]
000045D8 2F6F 0048 001E move.l [A7 + 0x1E], [A7 + 0x48]
000045DE 2F6F 004C 0022 move.l [A7 + 0x22], [A7 + 0x4C]
000045E4 3F6F 0050 0026 move.w [A7 + 0x26], [A7 + 0x50]
000045EA 4297 clr.l [A7]
000045EC 42AF 0004 clr.l [A7 + 0x4]
000045F0 426F 0008 clr.w [A7 + 0x8]
000045F4 486F 003E pea.l [A7 + 0x3E]
000045F8 486F 0004 pea.l [A7 + 0x4]
000045FC 3F3C 0008 move.w -[A7], 0x8
00004600 A9EB syscall Pack4/FP68K
00004602 662C bne +0x2E /* 00004630 */
00004604 4297 clr.l [A7]
00004606 42AF 0004 clr.l [A7 + 0x4]
0000460A 426F 0008 clr.w [A7 + 0x8]
0000460E 4857 pea.l [A7]
00004610 486F 004C pea.l [A7 + 0x4C]
00004614 3F3C 0008 move.w -[A7], 0x8
00004618 A9EB syscall Pack4/FP68K
0000461A 6E06 bgt +0x8 /* 00004622 */
0000461C 7021 moveq.l D0, 0x21
0000461E 2B40 800E move.l [A5 - 0x7FF2], D0
label00004622:
00004622 4292 clr.l [A2]
00004624 42AA 0004 clr.l [A2 + 0x4]
00004628 426A 0008 clr.w [A2 + 0x8]
0000462C 6000 00A8 bra +0xAA /* 000046D6 */
label00004630:
00004630 4297 clr.l [A7]
00004632 42AF 0004 clr.l [A7 + 0x4]
00004636 426F 0008 clr.w [A7 + 0x8]
0000463A 486F 0048 pea.l [A7 + 0x48]
0000463E 486F 0004 pea.l [A7 + 0x4]
00004642 3F3C 0008 move.w -[A7], 0x8
00004646 A9EB syscall Pack4/FP68K
00004648 6610 bne +0x12 /* 0000465A */
0000464A 24BC 3FFF 8000 move.l [A2], 0x3FFF8000
00004650 42AA 0004 clr.l [A2 + 0x4]
00004654 426A 0008 clr.w [A2 + 0x8]
00004658 607C bra +0x7E /* 000046D6 */
label0000465A:
0000465A 4297 clr.l [A7]
0000465C 42AF 0004 clr.l [A7 + 0x4]
00004660 426F 0008 clr.w [A7 + 0x8]
00004664 4857 pea.l [A7]
00004666 486F 0042 pea.l [A7 + 0x42]
0000466A 3F3C 0008 move.w -[A7], 0x8
0000466E A9EB syscall Pack4/FP68K
00004670 6C46 bge +0x48 /* 000046B8 */
00004672 486F 0014 pea.l [A7 + 0x14]
00004676 2F2F 0052 move.l -[A7], [A7 + 0x52]
0000467A 2F2F 0052 move.l -[A7], [A7 + 0x52]
0000467E 3F2F 0054 move.w -[A7], [A7 + 0x54]
00004682 486F 0018 pea.l [A7 + 0x18]
00004686 4EB9 0000 4556 jsr [0x00004556]
0000468C 554F subq.w A7, 2
0000468E 486F 001E pea.l [A7 + 0x1E]
00004692 486F 0004 pea.l [A7 + 0x4]
00004696 3F3C 001C move.w -[A7], 0x1C
0000469A A9EB syscall Pack4/FP68K
0000469C 0C5F 0004 cmpi.w [A7]+, 0x4
000046A0 4FEF 0012 lea.l A7, [A7 + 0x12]
000046A4 6712 beq +0x14 /* 000046B8 */
000046A6 7021 moveq.l D0, 0x21
000046A8 2B40 800E move.l [A5 - 0x7FF2], D0
000046AC 4292 clr.l [A2]
000046AE 42AA 0004 clr.l [A2 + 0x4]
000046B2 426A 0008 clr.w [A2 + 0x8]
000046B6 601E bra +0x20 /* 000046D6 */
label000046B8:
000046B8 486F 001E pea.l [A7 + 0x1E]
000046BC 486F 002C pea.l [A7 + 0x2C]
000046C0 3F3C 8012 move.w -[A7], 0x8012
000046C4 A9EC syscall Pack5/Elems68K
000046C6 24AF 0028 move.l [A2], [A7 + 0x28]
000046CA 256F 002C 0004 move.l [A2 + 0x4], [A7 + 0x2C]
000046D0 356F 0030 0008 move.w [A2 + 0x8], [A7 + 0x30]
label000046D6:
000046D6 4FEF 0032 lea.l A7, [A7 + 0x32]
000046DA 245F movea.l A2, [A7]+
000046DC 4E75 rts
000046DE 4FEF FFEC lea.l A7, [A7 - 0x14]
000046E2 2F6F 001C 000A move.l [A7 + 0xA], [A7 + 0x1C]
000046E8 2F6F 0020 000E move.l [A7 + 0xE], [A7 + 0x20]
000046EE 3F6F 0024 0012 move.w [A7 + 0x12], [A7 + 0x24]
000046F4 4297 clr.l [A7]
000046F6 42AF 0004 clr.l [A7 + 0x4]
000046FA 426F 0008 clr.w [A7 + 0x8]
000046FE 4857 pea.l [A7]
00004700 486F 0020 pea.l [A7 + 0x20]
00004704 3F3C 0008 move.w -[A7], 0x8
00004708 A9EB syscall Pack4/FP68K
0000470A 6C16 bge +0x18 /* 00004722 */
0000470C 7021 moveq.l D0, 0x21
0000470E 2B40 800E move.l [A5 - 0x7FF2], D0
00004712 206F 0018 movea.l A0, [A7 + 0x18]
00004716 4290 clr.l [A0]
00004718 42A8 0004 clr.l [A0 + 0x4]
0000471C 4268 0008 clr.w [A0 + 0x8]
00004720 601E bra +0x20 /* 00004740 */
label00004722:
00004722 486F 000A pea.l [A7 + 0xA]
00004726 3F3C 0012 move.w -[A7], 0x12
0000472A A9EB syscall Pack4/FP68K
0000472C 206F 0018 movea.l A0, [A7 + 0x18]
00004730 20AF 000A move.l [A0], [A7 + 0xA]
00004734 216F 000E 0004 move.l [A0 + 0x4], [A7 + 0xE]
0000473A 316F 0012 0008 move.w [A0 + 0x8], [A7 + 0x12]
label00004740:
00004740 4FEF 0014 lea.l A7, [A7 + 0x14]
00004744 4E75 rts
00004746 7000 moveq.l D0, 0x00
00004748 4E75 rts
0000474A 4E75 rts
0000474C 7000 moveq.l D0, 0x00
0000474E 4E75 rts
00004750 241F move.l D2, [A7]+
00004752 201F move.l D0, [A7]+
00004754 225F movea.l A1, [A7]+
00004756 205F movea.l A0, [A7]+
00004758 2F02 move.l -[A7], D2
0000475A 4241 clr.w D1
0000475C 1210 move.b D1, [A0]
0000475E 1428 0001 move.b D2, [A0 + 0x1]
00004762 2040 movea.l A0, D0
00004764 4210 clr.b [A0]
00004766 1171 1000 0001 move.b [A0 + 0x1], [A1 + D1.w]
0000476C 0C50 0002 cmpi.w [A0], 0x2
00004770 6706 beq +0x8 /* 00004778 */
00004772 3F41 0004 move.w [A7 + 0x4], D1
00004776 4E75 rts
label00004778:
00004778 1F41 0004 move.b [A7 + 0x4], D1
0000477C 1F42 0005 move.b [A7 + 0x5], D2
00004780 4E75 rts
00004782 4E56 FFD0 link A6, -0x0030
00004786 48E7 1F3C movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5
0000478A 3D7C 0001 0020 move.w [A6 + 0x20], 0x1
00004790 6020 bra +0x22 /* 000047B2 */
00004792 6008 bra +0xA /* 0000479C */
00004794 4E56 FFD0 link A6, -0x0030
00004798 48E7 1F3C movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5
label0000479C:
0000479C 7062 moveq.l D0, 0x62
0000479E A122 syscall NewHandle, flags=1
000047A0 226E 000A movea.l A1, [A6 + 0xA]
000047A4 2288 move.l [A1], A0
000047A6 4A40 tst.w D0
000047A8 6600 0186 bne +0x188 /* 00004930 */
000047AC A029 syscall HLock
000047AE 5C6E 000E addq.w [A6 + 0xE], 6
label000047B2:
000047B2 302E 000E move.w D0, [A6 + 0xE]
000047B6 6100 017E bsr +0x180 /* 00004936 */
000047BA 206E 001C movea.l A0, [A6 + 0x1C]
000047BE 226E 0014 movea.l A1, [A6 + 0x14]
000047C2 45EE FFF0 lea.l A2, [A6 - 0x10]
000047C6 266E FFDC movea.l A3, [A6 - 0x24]
000047CA 4E93 jsr [A3]
000047CC 206E 0018 movea.l A0, [A6 + 0x18]
000047D0 226E 0010 movea.l A1, [A6 + 0x10]
000047D4 45EE FFE0 lea.l A2, [A6 - 0x20]
000047D8 4E93 jsr [A3]
000047DA 302E FFF6 move.w D0, [A6 - 0xA]
000047DE B06E FFE6 cmp.w D0, [A6 - 0x1A]
000047E2 6600 014C bne +0x14E /* 00004930 */
000047E6 302E FFF4 move.w D0, [A6 - 0xC]
000047EA B06E FFE4 cmp.w D0, [A6 - 0x1C]
000047EE 6600 0140 bne +0x142 /* 00004930 */
000047F2 302E FFFA move.w D0, [A6 - 0x6]
000047F6 B06E FFEA cmp.w D0, [A6 - 0x16]
000047FA 6704 beq +0x6 /* 00004800 */
000047FC 6000 0132 bra +0x134 /* 00004930 */
label00004800:
00004800 302E FFF4 move.w D0, [A6 - 0xC]
00004804 48C0 ext.l D0
00004806 6100 088C bsr +0x88E /* 00005094 */
0000480A 3E00 move.w D7, D0
0000480C 6700 0174 beq +0x176 /* 00004982 */
00004810 302E FFF6 move.w D0, [A6 - 0xA]
00004814 48C0 ext.l D0
00004816 6100 087C bsr +0x87E /* 00005094 */
0000481A 4A40 tst.w D0
0000481C 6700 0164 beq +0x166 /* 00004982 */
00004820 7C01 moveq.l D6, 0x01
00004822 EFAE lsl D6, D7
00004824 5386 subq.l D6, 1
00004826 D047 add.w D0, D7
00004828 3D40 FFD6 move.w [A6 - 0x2A], D0
0000482C 41FA 0844 lea.l A0, [PC + 0x844 /* 00005072, value 0x303, cstring "" */]
00004830 7A00 moveq.l D5, 0x00
00004832 1A30 0000 move.b D5, [A0 + D0.w]
label00004836:
00004836 DA85 add.l D5, D5
00004838 6AFC bpl -0x2 /* 00004836 */
0000483A E1BD rol D5, D0
0000483C 2005 move.l D0, D5
0000483E 322E FFF6 move.w D1, [A6 - 0xA]
00004842 5241 addq.w D1, 1
00004844 48C1 ext.l D1
00004846 EFA9 lsl D1, D7
00004848 2D41 FFD2 move.l [A6 - 0x2E], D1
0000484C 206E 001C movea.l A0, [A6 + 0x1C]
00004850 2050 movea.l A0, [A0]
00004852 226E 0018 movea.l A1, [A6 + 0x18]
00004856 2251 movea.l A1, [A1]
00004858 246E FFFC movea.l A2, [A6 - 0x4]
0000485C 266E FFEC movea.l A3, [A6 - 0x14]
00004860 3A6E FFF8 movea.w A5, [A6 - 0x8]
00004864 386E FFE8 movea.w A4, [A6 - 0x18]
00004868 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
0000486C A852 syscall HideCursor
0000486E 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00004872 0C6E 0006 000E cmpi.w [A6 + 0xE], 0x6
00004878 6D78 blt +0x7A /* 000048F2 */
0000487A 2F0D move.l -[A7], A5
0000487C 2A6E 000A movea.l A5, [A6 + 0xA]
00004880 2A55 movea.l A5, [A5]
00004882 2A55 movea.l A5, [A5]
00004884 1B6E 0008 0060 move.b [A5 + 0x60], [A6 + 0x8]
0000488A 48ED 1FFF 0028 movem.l [A5 + 0x28], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00004890 2B5F 005C move.l [A5 + 0x5C], [A7]+
00004894 41EE FFF0 lea.l A0, [A6 - 0x10]
00004898 43ED 0004 lea.l A1, [A5 + 0x4]
0000489C 22D8 move.l [A1]+, [A0]+
0000489E 22D8 move.l [A1]+, [A0]+
000048A0 22D8 move.l [A1]+, [A0]+
000048A2 22D8 move.l [A1]+, [A0]+
000048A4 41EE FFE0 lea.l A0, [A6 - 0x20]
000048A8 43ED 0014 lea.l A1, [A5 + 0x14]
000048AC 22D8 move.l [A1]+, [A0]+
000048AE 22D8 move.l [A1]+, [A0]+
000048B0 22D8 move.l [A1]+, [A0]+
000048B2 22D8 move.l [A1]+, [A0]+
000048B4 2B6E FFD2 0024 move.l [A5 + 0x24], [A6 - 0x2E]
000048BA 2AAE FFD8 move.l [A5], [A6 - 0x28]
000048BE 7001 moveq.l D0, 0x01
000048C0 3400 move.w D2, D0
000048C2 322E FFD6 move.w D1, [A6 - 0x2A]
000048C6 E3A8 lsl D0, D1
000048C8 5380 subq.l D0, 1
label000048CA:
000048CA 0C80 0000 0080 cmpi.l D0, 0x80
000048D0 6F08 ble +0xA /* 000048DA */
000048D2 E34A lsl D2.w, 1
000048D4 E288 lsr D0, 1
000048D6 6702 beq +0x4 /* 000048DA */
000048D8 60F0 bra -0xE /* 000048CA */
label000048DA:
000048DA 262D 0040 move.l D3, [A5 + 0x40]
000048DE 4843 swap.w D3
000048E0 3602 move.w D3, D2
000048E2 5343 subq.w D3, 1
000048E4 4843 swap.w D3
000048E6 2B43 0040 move.l [A5 + 0x40], D3
000048EA 5240 addq.w D0, 1
000048EC 3D40 0020 move.w [A6 + 0x20], D0
000048F0 6030 bra +0x32 /* 00004922 */
label000048F2:
000048F2 4A2E 0008 tst.b [A6 + 0x8]
000048F6 670C beq +0xE /* 00004904 */
000048F8 2F00 move.l -[A7], D0
000048FA 7001 moveq.l D0, 0x01
000048FC A05D syscall SwapMMUMode
000048FE 1D40 FFD1 move.b [A6 - 0x2F], D0
00004902 201F move.l D0, [A7]+
label00004904:
00004904 487A 0008 pea.l [PC + 0x8 /* 0000490E, value 0x4A2E0008, cstring "J." */]
00004908 2F2E FFD8 move.l -[A7], [A6 - 0x28]
0000490C 4E75 rts
0000490E 4A2E 0008 tst.b [A6 + 0x8]
00004912 670C beq +0xE /* 00004920 */
00004914 2F00 move.l -[A7], D0
00004916 7000 moveq.l D0, 0x00
00004918 102E FFD1 move.b D0, [A6 - 0x2F]
0000491C A05D syscall SwapMMUMode
0000491E 201F move.l D0, [A7]+
label00004920:
00004920 A853 syscall ShowCursor
label00004922:
00004922 4CDF 3CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5, [A7]+
00004926 4E5E unlink A6
00004928 205F movea.l A0, [A7]+
0000492A 4FEF 0018 lea.l A7, [A7 + 0x18]
0000492E 4ED0 jmp [A0]
label00004930:
00004930 426E 0020 clr.w [A6 + 0x20]
00004934 60EA bra -0x14 /* 00004920 */
fn00004936:
00004936 D040 add.w D0, D0
00004938 41FA 0018 lea.l A0, [PC + 0x18 /* 00004952, value 0x6400CA, cstring "" */]
0000493C D0F0 0000 add.w A0, [A0 + D0.w]
00004940 2D48 FFDC move.l [A6 - 0x24], A0
00004944 41FA 0024 lea.l A0, [PC + 0x24 /* 0000496A, value 0x22E0298 */]
00004948 D0F0 0000 add.w A0, [A0 + D0.w]
0000494C 2D48 FFD8 move.l [A6 - 0x28], A0
00004950 4E75 rts
00004952 0064 00CA ori.w -[A4], 0xCA
00004956 013E btst <<invalid special address>>, D0
00004958 01CE .incomplete
0000495A 01D4 .incomplete
0000495C 01DA .incomplete
0000495E 0064 00CA ori.w -[A4], 0xCA
00004962 013E btst <<invalid special address>>, D0
00004964 01CE .incomplete
00004966 01D4 .incomplete
00004968 01DA .incomplete
0000496A 022E 0298 0310 andi.b [A6 + 0x310], 0x98
00004970 0382 bclr D2, D1
00004972 03BC 03F8 0478 bclr 0x3F80478, D1
00004978 04F6 .incomplete
0000497A 0582 bclr D2, D2
0000497C 0608 065C addi.b A0, 0x5C /* '\\' */
00004980 06B2 2F2E 001C 2F2E 0018 2F2E addi.l [[A2 + 0x18] + D2 * 8 + 0x2F2E], 0x2F2E001C
// begin alternate branch 00004982-00004994
label00004982:
00004982 2F2E 001C move.l -[A7], [A6 + 0x1C]
00004986 2F2E 0018 move.l -[A7], [A6 + 0x18]
0000498A 2F2E 0014 move.l -[A7], [A6 + 0x14]
0000498E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004992 4267 clr.w -[A7]
// end alternate branch 00004982-00004994
label00004982: // (misaligned)
0000498C 0014 2F2E ori.b [A4], 0x2E /* '.' */
00004990 0010 4267 ori.b [A0], 0x67 /* 'g' */
00004994 42A7 clr.l -[A7]
00004996 A8EC syscall CopyBits
00004998 6096 bra -0x68 /* 00004930 */
fn0000499A:
0000499A 4A68 0004 tst.w [A0 + 0x4]
0000499E 6A0E bpl +0x10 /* 000049AE */
000049A0 4A68 001E tst.w [A0 + 0x1E]
000049A4 6708 beq +0xA /* 000049AE */
000049A6 0C68 0010 001E cmpi.w [A0 + 0x1E], 0x10
000049AC 6602 bne +0x4 /* 000049B0 */
label000049AE:
000049AE 4E75 rts
label000049B0:
000049B0 504F addq.w A7, 8
000049B2 6000 FF7C bra -0x82 /* 00004930 */
000049B6 61E2 bsr -0x1C /* 0000499A */
000049B8 3011 move.w D0, [A1]
000049BA 9068 0006 sub.w D0, [A0 + 0x6]
000049BE 3228 0004 move.w D1, [A0 + 0x4]
000049C2 0241 3FFF andi.w D1, 0x3FFF
000049C6 C0C1 mulu.w D0, D1
000049C8 E788 lsl D0, 3
000049CA 3229 0002 move.w D1, [A1 + 0x2]
000049CE 9268 0008 sub.w D1, [A0 + 0x8]
000049D2 4267 clr.w -[A7]
000049D4 6100 0128 bsr +0x12A /* 00004AFE */
000049D8 C2DF mulu.w D1, [A7]+
000049DA D081 add.l D0, D1
000049DC 2540 000C move.l [A2 + 0xC], D0
000049E0 3028 0004 move.w D0, [A0 + 0x4]
000049E4 0240 3FFF andi.w D0, 0x3FFF
000049E8 E748 lsl D0.w, 3
000049EA 3540 0008 move.w [A2 + 0x8], D0
000049EE 3029 0004 move.w D0, [A1 + 0x4]
000049F2 9051 sub.w D0, [A1]
000049F4 5340 subq.w D0, 1
000049F6 6B1E bmi +0x20 /* 00004A16 */
000049F8 3540 0006 move.w [A2 + 0x6], D0
000049FC 3029 0006 move.w D0, [A1 + 0x6]
00004A00 9069 0002 sub.w D0, [A1 + 0x2]
00004A04 4267 clr.w -[A7]
00004A06 6100 00F6 bsr +0xF8 /* 00004AFE */
00004A0A C0DF mulu.w D0, [A7]+
00004A0C 5340 subq.w D0, 1
00004A0E 6B06 bmi +0x8 /* 00004A16 */
00004A10 3540 0004 move.w [A2 + 0x4], D0
00004A14 4E75 rts
label00004A16:
00004A16 588F addq.l A7, 4
00004A18 6000 FF16 bra -0xE8 /* 00004930 */
00004A1C 6100 FF7C bsr -0x82 /* 0000499A */
00004A20 3011 move.w D0, [A1]
00004A22 9068 0006 sub.w D0, [A0 + 0x6]
00004A26 3228 0004 move.w D1, [A0 + 0x4]
00004A2A 0241 3FFF andi.w D1, 0x3FFF
00004A2E C0C1 mulu.w D0, D1
00004A30 E588 lsl D0, 2
00004A32 3229 0002 move.w D1, [A1 + 0x2]
00004A36 9268 0008 sub.w D1, [A0 + 0x8]
00004A3A 4267 clr.w -[A7]
00004A3C 6100 00C0 bsr +0xC2 /* 00004AFE */
00004A40 C2DF mulu.w D1, [A7]+
00004A42 E289 lsr D1, 1
00004A44 D081 add.l D0, D1
00004A46 2540 000C move.l [A2 + 0xC], D0
00004A4A 3028 0004 move.w D0, [A0 + 0x4]
00004A4E 0240 3FFF andi.w D0, 0x3FFF
00004A52 E548 lsl D0.w, 2
00004A54 3540 0008 move.w [A2 + 0x8], D0
00004A58 3029 0004 move.w D0, [A1 + 0x4]
00004A5C 9051 sub.w D0, [A1]
00004A5E 5340 subq.w D0, 1
00004A60 6B28 bmi +0x2A /* 00004A8A */
00004A62 3540 0006 move.w [A2 + 0x6], D0
00004A66 3029 0006 move.w D0, [A1 + 0x6]
00004A6A 9069 0002 sub.w D0, [A1 + 0x2]
00004A6E 4267 clr.w -[A7]
00004A70 6100 008C bsr +0x8E /* 00004AFE */
00004A74 C0DF mulu.w D0, [A7]+
00004A76 5280 addq.l D0, 1
00004A78 E288 lsr D0, 1
00004A7A 5340 subq.w D0, 1
00004A7C 6B0C bmi +0xE /* 00004A8A */
00004A7E 3540 0004 move.w [A2 + 0x4], D0
00004A82 24BC C030 0C03 move.l [A2], 0xC0300C03
00004A88 4E75 rts
label00004A8A:
00004A8A 588F addq.l A7, 4
00004A8C 6000 FEA2 bra -0x15C /* 00004930 */
00004A90 6100 FF08 bsr -0xF6 /* 0000499A */
00004A94 3011 move.w D0, [A1]
00004A96 9068 0006 sub.w D0, [A0 + 0x6]
00004A9A 3228 0004 move.w D1, [A0 + 0x4]
00004A9E 0241 3FFF andi.w D1, 0x3FFF
00004AA2 C0C1 mulu.w D0, D1
00004AA4 E388 lsl D0, 1
00004AA6 3229 0002 move.w D1, [A1 + 0x2]
00004AAA 9268 0008 sub.w D1, [A0 + 0x8]
00004AAE 4267 clr.w -[A7]
00004AB0 614C bsr +0x4E /* 00004AFE */
00004AB2 C2DF mulu.w D1, [A7]+
00004AB4 E489 lsr D1, 2
00004AB6 D081 add.l D0, D1
00004AB8 2540 000C move.l [A2 + 0xC], D0
00004ABC 3028 0004 move.w D0, [A0 + 0x4]
00004AC0 0240 3FFF andi.w D0, 0x3FFF
00004AC4 E348 lsl D0.w, 1
00004AC6 3540 0008 move.w [A2 + 0x8], D0
00004ACA 3029 0004 move.w D0, [A1 + 0x4]
00004ACE 9051 sub.w D0, [A1]
00004AD0 5340 subq.w D0, 1
00004AD2 6B24 bmi +0x26 /* 00004AF8 */
00004AD4 3540 0006 move.w [A2 + 0x6], D0
00004AD8 3029 0006 move.w D0, [A1 + 0x6]
00004ADC 9069 0002 sub.w D0, [A1 + 0x2]
00004AE0 4267 clr.w -[A7]
00004AE2 611A bsr +0x1C /* 00004AFE */
00004AE4 C0DF mulu.w D0, [A7]+
00004AE6 5680 addq.l D0, 3
00004AE8 E488 lsr D0, 2
00004AEA 5340 subq.w D0, 1
00004AEC 6B0A bmi +0xC /* 00004AF8 */
00004AEE 3540 0004 move.w [A2 + 0x4], D0
00004AF2 34BC F00F move.w [A2], 0xF00F
00004AF6 4E75 rts
label00004AF8:
00004AF8 588F addq.l A7, 4
00004AFA 6000 FE34 bra -0x1CA /* 00004930 */
fn00004AFE:
00004AFE 4A28 0004 tst.b [A0 + 0x4]
00004B02 6A0E bpl +0x10 /* 00004B12 */
00004B04 3568 0020 000A move.w [A2 + 0xA], [A0 + 0x20]
00004B0A 3F68 0020 0004 move.w [A7 + 0x4], [A0 + 0x20]
00004B10 600C bra +0xE /* 00004B1E */
label00004B12:
00004B12 357C 0001 000A move.w [A2 + 0xA], 0x1
00004B18 3F7C 0001 0004 move.w [A7 + 0x4], 0x1
label00004B1E:
00004B1E 4E75 rts
00004B20 7E03 moveq.l D7, 0x03
00004B22 7C07 moveq.l D6, 0x07
00004B24 600A bra +0xC /* 00004B30 */
00004B26 7E04 moveq.l D7, 0x04
00004B28 7C0F moveq.l D6, 0x0F
00004B2A 6004 bra +0x6 /* 00004B30 */
00004B2C 7E05 moveq.l D7, 0x05
00004B2E 7C1F moveq.l D6, 0x1F
label00004B30:
00004B30 6100 FE68 bsr -0x196 /* 0000499A */
00004B34 3011 move.w D0, [A1]
00004B36 9068 0006 sub.w D0, [A0 + 0x6]
00004B3A 3228 0004 move.w D1, [A0 + 0x4]
00004B3E 0241 3FFF andi.w D1, 0x3FFF
00004B42 C0C1 mulu.w D0, D1
00004B44 3229 0002 move.w D1, [A1 + 0x2]
00004B48 9268 0008 sub.w D1, [A0 + 0x8]
00004B4C 4267 clr.w -[A7]
00004B4E 61AE bsr -0x50 /* 00004AFE */
00004B50 C2DF mulu.w D1, [A7]+
00004B52 E689 lsr D1, 3
00004B54 D081 add.l D0, D1
00004B56 2540 000C move.l [A2 + 0xC], D0
00004B5A 3028 0004 move.w D0, [A0 + 0x4]
00004B5E 0240 3FFF andi.w D0, 0x3FFF
00004B62 3540 0008 move.w [A2 + 0x8], D0
00004B66 3029 0004 move.w D0, [A1 + 0x4]
00004B6A 9051 sub.w D0, [A1]
00004B6C 5340 subq.w D0, 1
00004B6E 6B22 bmi +0x24 /* 00004B92 */
00004B70 3540 0006 move.w [A2 + 0x6], D0
00004B74 3029 0006 move.w D0, [A1 + 0x6]
00004B78 9069 0002 sub.w D0, [A1 + 0x2]
00004B7C 4267 clr.w -[A7]
00004B7E 6100 FF7E bsr -0x80 /* 00004AFE */
00004B82 C0DF mulu.w D0, [A7]+
00004B84 D086 add.l D0, D6
00004B86 EEA8 lsr D0, D7
00004B88 5340 subq.w D0, 1
00004B8A 6B06 bmi +0x8 /* 00004B92 */
00004B8C 3540 0004 move.w [A2 + 0x4], D0
00004B90 4E75 rts
label00004B92:
00004B92 588F addq.l A7, 4
00004B94 6000 FD9A bra -0x264 /* 00004930 */
00004B98 7600 moveq.l D3, 0x00
label00004B9A:
00004B9A B0AE FFD2 cmp.l D0, [A6 - 0x2E]
00004B9E 6C36 bge +0x38 /* 00004BD6 */
label00004BA0:
00004BA0 3600 move.w D3, D0
00004BA2 C646 and.w D3, D6
00004BA4 B66E FFF4 cmp.w D3, [A6 - 0xC]
00004BA8 6E2C bgt +0x2E /* 00004BD6 */
00004BAA 2800 move.l D4, D0
00004BAC EEAC lsr D4, D7
00004BAE 320D move.w D1, A5
00004BB0 C2C4 mulu.w D1, D4
00004BB2 D283 add.l D1, D3
00004BB4 D28A add.l D1, A2
00004BB6 E689 lsr D1, 3
00004BB8 340C move.w D2, A4
00004BBA C8C2 mulu.w D4, D2
00004BBC D883 add.l D4, D3
00004BBE D88B add.l D4, A3
00004BC0 1404 move.b D2, D4
00004BC2 4602 not.b D2
00004BC4 E68C lsr D4, 3
00004BC6 0530 1800 btst [A0 + D1], D2
00004BCA 6606 bne +0x8 /* 00004BD2 */
00004BCC 05B1 4800 bclr [A1 + D4], D2
00004BD0 6004 bra +0x6 /* 00004BD6 */
label00004BD2:
00004BD2 05F1 .incomplete
00004BD4 4800 nbcd.b D0
label00004BD6:
00004BD6 E288 lsr D0, 1
00004BD8 62C6 bhi -0x38 /* 00004BA0 */
00004BDA BB80 xor.l D0, D5
00004BDC B085 cmp.l D0, D5
00004BDE 66BA bne -0x44 /* 00004B9A */
00004BE0 220A move.l D1, A2
00004BE2 1401 move.b D2, D1
00004BE4 4602 not.b D2
00004BE6 E689 lsr D1, 3
00004BE8 280B move.l D4, A3
00004BEA 1604 move.b D3, D4
00004BEC 4603 not.b D3
00004BEE E68C lsr D4, 3
00004BF0 0530 1800 btst [A0 + D1], D2
00004BF4 6606 bne +0x8 /* 00004BFC */
00004BF6 07B1 4800 bclr [A1 + D4], D3
00004BFA 6004 bra +0x6 /* 00004C00 */
label00004BFC:
00004BFC 07F1 .incomplete
00004BFE 4800 nbcd.b D0
label00004C00:
00004C00 4E75 rts
00004C02 46AE FFE0 not.l [A6 - 0x20]
label00004C06:
00004C06 B0AE FFD2 cmp.l D0, [A6 - 0x2E]
00004C0A 6C46 bge +0x48 /* 00004C52 */
label00004C0C:
00004C0C 3600 move.w D3, D0
00004C0E C646 and.w D3, D6
00004C10 B66E FFF4 cmp.w D3, [A6 - 0xC]
00004C14 6E3C bgt +0x3E /* 00004C52 */
00004C16 2800 move.l D4, D0
00004C18 EEAC lsr D4, D7
00004C1A 320D move.w D1, A5
00004C1C C2C4 mulu.w D1, D4
00004C1E 48C3 ext.l D3
00004C20 D283 add.l D1, D3
00004C22 4843 swap.w D3
00004C24 D28A add.l D1, A2
00004C26 E489 lsr D1, 2
00004C28 360C move.w D3, A4
00004C2A C8C3 mulu.w D4, D3
00004C2C 4843 swap.w D3
00004C2E 48C3 ext.l D3
00004C30 D883 add.l D4, D3
00004C32 D88B add.l D4, A3
00004C34 1604 move.b D3, D4
00004C36 0243 0003 andi.w D3, 0x3
00004C3A E48C lsr D4, 2
00004C3C 1230 1800 move.b D1, [A0 + D1]
00004C40 C236 30F0 and.b D1, [A6 + D3.w - 0x16]
00004C44 1431 4800 move.b D2, [A1 + D4]
00004C48 C436 30E0 and.b D2, [A6 + D3.w - 0x32]
00004C4C 8401 or.b D2, D1
00004C4E 1382 4800 move.b [A1 + D4], D2
label00004C52:
00004C52 E288 lsr D0, 1
00004C54 62B6 bhi -0x48 /* 00004C0C */
00004C56 BB80 xor.l D0, D5
00004C58 B085 cmp.l D0, D5
00004C5A 66AA bne -0x54 /* 00004C06 */
00004C5C 220A move.l D1, A2
00004C5E 1401 move.b D2, D1
00004C60 0242 0003 andi.w D2, 0x3
00004C64 E489 lsr D1, 2
00004C66 280B move.l D4, A3
00004C68 1604 move.b D3, D4
00004C6A 0243 0003 andi.w D3, 0x3
00004C6E E48C lsr D4, 2
00004C70 1230 1800 move.b D1, [A0 + D1]
00004C74 1381 4800 move.b [A1 + D4], D1
00004C78 4E75 rts
00004C7A 466E FFE0 not.w [A6 - 0x20]
label00004C7E:
00004C7E B0AE FFD2 cmp.l D0, [A6 - 0x2E]
00004C82 6C46 bge +0x48 /* 00004CCA */
label00004C84:
00004C84 3600 move.w D3, D0
00004C86 C646 and.w D3, D6
00004C88 B66E FFF4 cmp.w D3, [A6 - 0xC]
00004C8C 6E3C bgt +0x3E /* 00004CCA */
00004C8E 2800 move.l D4, D0
00004C90 EEAC lsr D4, D7
00004C92 320D move.w D1, A5
00004C94 C2C4 mulu.w D1, D4
00004C96 48C3 ext.l D3
00004C98 D283 add.l D1, D3
00004C9A 4843 swap.w D3
00004C9C D28A add.l D1, A2
00004C9E E289 lsr D1, 1
00004CA0 360C move.w D3, A4
00004CA2 C8C3 mulu.w D4, D3
00004CA4 4843 swap.w D3
00004CA6 48C3 ext.l D3
00004CA8 D883 add.l D4, D3
00004CAA D88B add.l D4, A3
00004CAC 1604 move.b D3, D4
00004CAE 0243 0001 andi.w D3, 0x1
00004CB2 E28C lsr D4, 1
00004CB4 1230 1800 move.b D1, [A0 + D1]
00004CB8 C236 30F0 and.b D1, [A6 + D3.w - 0x16]
00004CBC 1431 4800 move.b D2, [A1 + D4]
00004CC0 C436 30E0 and.b D2, [A6 + D3.w - 0x32]
00004CC4 8401 or.b D2, D1
00004CC6 1382 4800 move.b [A1 + D4], D2
label00004CCA:
00004CCA E288 lsr D0, 1
00004CCC 62B6 bhi -0x48 /* 00004C84 */
00004CCE BB80 xor.l D0, D5
00004CD0 B085 cmp.l D0, D5
00004CD2 66AA bne -0x54 /* 00004C7E */
00004CD4 220A move.l D1, A2
00004CD6 E289 lsr D1, 1
00004CD8 280B move.l D4, A3
00004CDA 1604 move.b D3, D4
00004CDC 0243 0001 andi.w D3, 0x1
00004CE0 E28C lsr D4, 1
00004CE2 1230 1800 move.b D1, [A0 + D1]
00004CE6 1381 4800 move.b [A1 + D4], D1
00004CEA 4E75 rts
00004CEC D1CA add.l A0, A2
00004CEE D3CB add.l A1, A3
00004CF0 7600 moveq.l D3, 0x00
label00004CF2:
00004CF2 B0AE FFD2 cmp.l D0, [A6 - 0x2E]
00004CF6 6C20 bge +0x22 /* 00004D18 */
label00004CF8:
00004CF8 3600 move.w D3, D0
00004CFA C646 and.w D3, D6
00004CFC B66E FFF4 cmp.w D3, [A6 - 0xC]
00004D00 6E16 bgt +0x18 /* 00004D18 */
00004D02 2800 move.l D4, D0
00004D04 EEAC lsr D4, D7
00004D06 320D move.w D1, A5
00004D08 C2C4 mulu.w D1, D4
00004D0A D283 add.l D1, D3
00004D0C 340C move.w D2, A4
00004D0E C4C4 mulu.w D2, D4
00004D10 D483 add.l D2, D3
00004D12 13B0 1800 2800 move.b [A1 + D2], [A0 + D1]
label00004D18:
00004D18 E288 lsr D0, 1
00004D1A 62DC bhi -0x22 /* 00004CF8 */
00004D1C BB80 xor.l D0, D5
00004D1E B085 cmp.l D0, D5
00004D20 66D0 bne -0x2E /* 00004CF2 */
00004D22 1290 move.b [A1], [A0]
00004D24 4E75 rts
00004D26 D1CA add.l A0, A2
00004D28 D3CB add.l A1, A3
label00004D2A:
00004D2A B0AE FFD2 cmp.l D0, [A6 - 0x2E]
00004D2E 6C24 bge +0x26 /* 00004D54 */
label00004D30:
00004D30 3600 move.w D3, D0
00004D32 C646 and.w D3, D6
00004D34 B66E FFF4 cmp.w D3, [A6 - 0xC]
00004D38 6E1A bgt +0x1C /* 00004D54 */
00004D3A 48C3 ext.l D3
00004D3C D683 add.l D3, D3
00004D3E 2800 move.l D4, D0
00004D40 EEAC lsr D4, D7
00004D42 320D move.w D1, A5
00004D44 C2C4 mulu.w D1, D4
00004D46 D283 add.l D1, D3
00004D48 340C move.w D2, A4
00004D4A C4C4 mulu.w D2, D4
00004D4C D483 add.l D2, D3
00004D4E 33B0 1800 2800 move.w [A1 + D2], [A0 + D1]
label00004D54:
00004D54 E288 lsr D0, 1
00004D56 62D8 bhi -0x26 /* 00004D30 */
00004D58 BB80 xor.l D0, D5
00004D5A B085 cmp.l D0, D5
00004D5C 66CC bne -0x32 /* 00004D2A */
00004D5E 3290 move.w [A1], [A0]
00004D60 4E75 rts
00004D62 D1CA add.l A0, A2
00004D64 D3CB add.l A1, A3
label00004D66:
00004D66 B0AE FFD2 cmp.l D0, [A6 - 0x2E]
00004D6A 6C24 bge +0x26 /* 00004D90 */
label00004D6C:
00004D6C 3600 move.w D3, D0
00004D6E C646 and.w D3, D6
00004D70 B66E FFF4 cmp.w D3, [A6 - 0xC]
00004D74 6E1A bgt +0x1C /* 00004D90 */
00004D76 48C3 ext.l D3
00004D78 E58B lsl D3, 2
00004D7A 2800 move.l D4, D0
00004D7C EEAC lsr D4, D7
00004D7E 320D move.w D1, A5
00004D80 C2C4 mulu.w D1, D4
00004D82 D283 add.l D1, D3
00004D84 340C move.w D2, A4
00004D86 C4C4 mulu.w D2, D4
00004D88 D483 add.l D2, D3
00004D8A 23B0 1800 2800 move.l [A1 + D2], [A0 + D1]
label00004D90:
00004D90 E288 lsr D0, 1
00004D92 62D8 bhi -0x26 /* 00004D6C */
00004D94 BB80 xor.l D0, D5
00004D96 B085 cmp.l D0, D5
00004D98 66CC bne -0x32 /* 00004D66 */
00004D9A 2290 move.l [A1], [A0]
00004D9C 4E75 rts
00004D9E 4E56 0000 link A6, 0
00004DA2 48E7 1F3E movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
00004DA6 2C6E 0008 movea.l A6, [A6 + 0x8]
00004DAA 4A2E 0060 tst.b [A6 + 0x60]
00004DAE 6706 beq +0x8 /* 00004DB6 */
00004DB0 7001 moveq.l D0, 0x01
00004DB2 A05D syscall SwapMMUMode
00004DB4 1F00 move.b -[A7], D0
label00004DB6:
00004DB6 4CEE 3FFF 0028 movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A6 + 0x28]
00004DBC 487A 0006 pea.l [PC + 0x6 /* 00004DC4, value 0x48EE001F */]
00004DC0 2F16 move.l -[A7], [A6]
00004DC2 4E75 rts
00004DC4 48EE 001F 0028 movem.l [A6 + 0x28], D0,D1,D2,D3,D4
00004DCA 4A2E 0060 tst.b [A6 + 0x60]
00004DCE 6706 beq +0x8 /* 00004DD6 */
00004DD0 7000 moveq.l D0, 0x00
00004DD2 101F move.b D0, [A7]+
00004DD4 A05D syscall SwapMMUMode
label00004DD6:
00004DD6 4CDF 7CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
00004DDA 4E5E unlink A6
00004DDC 205F movea.l A0, [A7]+
00004DDE 584F addq.w A7, 4
00004DE0 4ED0 jmp [A0]
00004DE2 7600 moveq.l D3, 0x00
00004DE4 2F08 move.l -[A7], A0
00004DE6 41FA 004C lea.l A0, [PC + 0x4C /* 00004E34, value 0xE28862BC */]
00004DEA 2C88 move.l [A6], A0
00004DEC 205F movea.l A0, [A7]+
label00004DEE:
00004DEE B0AE 0024 cmp.l D0, [A6 + 0x24]
00004DF2 6C36 bge +0x38 /* 00004E2A */
label00004DF4:
00004DF4 3600 move.w D3, D0
00004DF6 C646 and.w D3, D6
00004DF8 B66E 0008 cmp.w D3, [A6 + 0x8]
00004DFC 6E2C bgt +0x2E /* 00004E2A */
00004DFE 2800 move.l D4, D0
00004E00 EEAC lsr D4, D7
00004E02 320D move.w D1, A5
00004E04 C2C4 mulu.w D1, D4
00004E06 D283 add.l D1, D3
00004E08 D28A add.l D1, A2
00004E0A E689 lsr D1, 3
00004E0C 340C move.w D2, A4
00004E0E C8C2 mulu.w D4, D2
00004E10 D883 add.l D4, D3
00004E12 D88B add.l D4, A3
00004E14 1404 move.b D2, D4
00004E16 4602 not.b D2
00004E18 E68C lsr D4, 3
00004E1A 0530 1800 btst [A0 + D1], D2
00004E1E 6606 bne +0x8 /* 00004E26 */
00004E20 05B1 4800 bclr [A1 + D4], D2
00004E24 6004 bra +0x6 /* 00004E2A */
label00004E26:
00004E26 05F1 .incomplete
00004E28 4800 nbcd.b D0
label00004E2A:
00004E2A 4846 swap.w D6
00004E2C 51CE 0004 dbf D6, +0x6 /* 00004E32 */
00004E30 602C bra +0x2E /* 00004E5E */
label00004E32:
00004E32 4846 swap.w D6
00004E34 E288 lsr D0, 1
00004E36 62BC bhi -0x42 /* 00004DF4 */
00004E38 BB80 xor.l D0, D5
00004E3A B085 cmp.l D0, D5
00004E3C 66B0 bne -0x4E /* 00004DEE */
00004E3E 220A move.l D1, A2
00004E40 1401 move.b D2, D1
00004E42 4602 not.b D2
00004E44 E689 lsr D1, 3
00004E46 280B move.l D4, A3
00004E48 1604 move.b D3, D4
00004E4A 4603 not.b D3
00004E4C E68C lsr D4, 3
00004E4E 0530 1800 btst [A0 + D1], D2
00004E52 6606 bne +0x8 /* 00004E5A */
00004E54 07B1 4800 bclr [A1 + D4], D3
00004E58 6004 bra +0x6 /* 00004E5E */
label00004E5A:
00004E5A 07F1 .incomplete
00004E5C 4800 nbcd.b D0
label00004E5E:
00004E5E 4E75 rts
00004E60 46AE 0014 not.l [A6 + 0x14]
00004E64 2F08 move.l -[A7], A0
00004E66 41FA 005C lea.l A0, [PC + 0x5C /* 00004EC4, value 0xE28862AC */]
00004E6A 2C88 move.l [A6], A0
00004E6C 205F movea.l A0, [A7]+
label00004E6E:
00004E6E B0AE 0024 cmp.l D0, [A6 + 0x24]
00004E72 6C46 bge +0x48 /* 00004EBA */
label00004E74:
00004E74 3600 move.w D3, D0
00004E76 C646 and.w D3, D6
00004E78 B66E 0008 cmp.w D3, [A6 + 0x8]
00004E7C 6E3C bgt +0x3E /* 00004EBA */
00004E7E 2800 move.l D4, D0
00004E80 EEAC lsr D4, D7
00004E82 320D move.w D1, A5
00004E84 C2C4 mulu.w D1, D4
00004E86 48C3 ext.l D3
00004E88 D283 add.l D1, D3
00004E8A 4843 swap.w D3
00004E8C D28A add.l D1, A2
00004E8E E489 lsr D1, 2
00004E90 360C move.w D3, A4
00004E92 C8C3 mulu.w D4, D3
00004E94 4843 swap.w D3
00004E96 48C3 ext.l D3
00004E98 D883 add.l D4, D3
00004E9A D88B add.l D4, A3
00004E9C 1604 move.b D3, D4
00004E9E 0243 0003 andi.w D3, 0x3
00004EA2 E48C lsr D4, 2
00004EA4 1230 1800 move.b D1, [A0 + D1]
00004EA8 C236 3004 and.b D1, [A6 + D3.w + 0x4]
00004EAC 1431 4800 move.b D2, [A1 + D4]
00004EB0 C436 3014 and.b D2, [A6 + D3.w + 0x14]
00004EB4 8401 or.b D2, D1
00004EB6 1382 4800 move.b [A1 + D4], D2
label00004EBA:
00004EBA 4846 swap.w D6
00004EBC 51CE 0004 dbf D6, +0x6 /* 00004EC2 */
00004EC0 6028 bra +0x2A /* 00004EEA */
label00004EC2:
00004EC2 4846 swap.w D6
00004EC4 E288 lsr D0, 1
00004EC6 62AC bhi -0x52 /* 00004E74 */
00004EC8 BB80 xor.l D0, D5
00004ECA B085 cmp.l D0, D5
00004ECC 66A0 bne -0x5E /* 00004E6E */
00004ECE 220A move.l D1, A2
00004ED0 1401 move.b D2, D1
00004ED2 0242 0003 andi.w D2, 0x3
00004ED6 E489 lsr D1, 2
00004ED8 280B move.l D4, A3
00004EDA 1604 move.b D3, D4
00004EDC 0243 0003 andi.w D3, 0x3
00004EE0 E48C lsr D4, 2
00004EE2 1230 1800 move.b D1, [A0 + D1]
00004EE6 1381 4800 move.b [A1 + D4], D1
label00004EEA:
00004EEA 4E75 rts
00004EEC 466E 0014 not.w [A6 + 0x14]
00004EF0 2F08 move.l -[A7], A0
00004EF2 41FA 005C lea.l A0, [PC + 0x5C /* 00004F50, value 0xE28862AC */]
00004EF6 2C88 move.l [A6], A0
00004EF8 205F movea.l A0, [A7]+
label00004EFA:
00004EFA B0AE 0024 cmp.l D0, [A6 + 0x24]
00004EFE 6C46 bge +0x48 /* 00004F46 */
label00004F00:
00004F00 3600 move.w D3, D0
00004F02 C646 and.w D3, D6
00004F04 B66E 0008 cmp.w D3, [A6 + 0x8]
00004F08 6E3C bgt +0x3E /* 00004F46 */
00004F0A 2800 move.l D4, D0
00004F0C EEAC lsr D4, D7
00004F0E 320D move.w D1, A5
00004F10 C2C4 mulu.w D1, D4
00004F12 48C3 ext.l D3
00004F14 D283 add.l D1, D3
00004F16 4843 swap.w D3
00004F18 D28A add.l D1, A2
00004F1A E289 lsr D1, 1
00004F1C 360C move.w D3, A4
00004F1E C8C3 mulu.w D4, D3
00004F20 4843 swap.w D3
00004F22 48C3 ext.l D3
00004F24 D883 add.l D4, D3
00004F26 D88B add.l D4, A3
00004F28 1604 move.b D3, D4
00004F2A 0243 0001 andi.w D3, 0x1
00004F2E E28C lsr D4, 1
00004F30 1230 1800 move.b D1, [A0 + D1]
00004F34 C236 3004 and.b D1, [A6 + D3.w + 0x4]
00004F38 1431 4800 move.b D2, [A1 + D4]
00004F3C C436 3014 and.b D2, [A6 + D3.w + 0x14]
00004F40 8401 or.b D2, D1
00004F42 1382 4800 move.b [A1 + D4], D2
label00004F46:
00004F46 4846 swap.w D6
00004F48 51CE 0004 dbf D6, +0x6 /* 00004F4E */
00004F4C 6022 bra +0x24 /* 00004F70 */
label00004F4E:
00004F4E 4846 swap.w D6
00004F50 E288 lsr D0, 1
00004F52 62AC bhi -0x52 /* 00004F00 */
00004F54 BB80 xor.l D0, D5
00004F56 B085 cmp.l D0, D5
00004F58 66A0 bne -0x5E /* 00004EFA */
00004F5A 220A move.l D1, A2
00004F5C E289 lsr D1, 1
00004F5E 280B move.l D4, A3
00004F60 1604 move.b D3, D4
00004F62 0243 0001 andi.w D3, 0x1
00004F66 E28C lsr D4, 1
00004F68 1230 1800 move.b D1, [A0 + D1]
00004F6C 1381 4800 move.b [A1 + D4], D1
label00004F70:
00004F70 4E75 rts
00004F72 D1CA add.l A0, A2
00004F74 D3CB add.l A1, A3
00004F76 48EE 0300 0048 movem.l [A6 + 0x48], A0,A1
00004F7C 7600 moveq.l D3, 0x00
00004F7E 2F08 move.l -[A7], A0
00004F80 41FA 0036 lea.l A0, [PC + 0x36 /* 00004FB8, value 0xE28862D2 */]
00004F84 2C88 move.l [A6], A0
00004F86 205F movea.l A0, [A7]+
label00004F88:
00004F88 B0AE 0024 cmp.l D0, [A6 + 0x24]
00004F8C 6C20 bge +0x22 /* 00004FAE */
label00004F8E:
00004F8E 3600 move.w D3, D0
00004F90 C646 and.w D3, D6
00004F92 B66E 0008 cmp.w D3, [A6 + 0x8]
00004F96 6E16 bgt +0x18 /* 00004FAE */
00004F98 2800 move.l D4, D0
00004F9A EEAC lsr D4, D7
00004F9C 320D move.w D1, A5
00004F9E C2C4 mulu.w D1, D4
00004FA0 D283 add.l D1, D3
00004FA2 340C move.w D2, A4
00004FA4 C4C4 mulu.w D2, D4
00004FA6 D483 add.l D2, D3
00004FA8 13B0 1800 2800 move.b [A1 + D2], [A0 + D1]
label00004FAE:
00004FAE 4846 swap.w D6
00004FB0 51CE 0004 dbf D6, +0x6 /* 00004FB6 */
00004FB4 600E bra +0x10 /* 00004FC4 */
label00004FB6:
00004FB6 4846 swap.w D6
00004FB8 E288 lsr D0, 1
00004FBA 62D2 bhi -0x2C /* 00004F8E */
00004FBC BB80 xor.l D0, D5
00004FBE B085 cmp.l D0, D5
00004FC0 66C6 bne -0x38 /* 00004F88 */
00004FC2 1290 move.b [A1], [A0]
label00004FC4:
00004FC4 4E75 rts
00004FC6 D1CA add.l A0, A2
00004FC8 D3CB add.l A1, A3
00004FCA 48EE 0300 0048 movem.l [A6 + 0x48], A0,A1
00004FD0 2F08 move.l -[A7], A0
00004FD2 41FA 003A lea.l A0, [PC + 0x3A /* 0000500E, value 0xE28862CE */]
00004FD6 2C88 move.l [A6], A0
00004FD8 205F movea.l A0, [A7]+
label00004FDA:
00004FDA B0AE 0024 cmp.l D0, [A6 + 0x24]
00004FDE 6C24 bge +0x26 /* 00005004 */
label00004FE0:
00004FE0 3600 move.w D3, D0
00004FE2 C646 and.w D3, D6
00004FE4 B66E 0008 cmp.w D3, [A6 + 0x8]
00004FE8 6E1A bgt +0x1C /* 00005004 */
00004FEA 48C3 ext.l D3
00004FEC D683 add.l D3, D3
00004FEE 2800 move.l D4, D0
00004FF0 EEAC lsr D4, D7
00004FF2 320D move.w D1, A5
00004FF4 C2C4 mulu.w D1, D4
00004FF6 D283 add.l D1, D3
00004FF8 340C move.w D2, A4
00004FFA C4C4 mulu.w D2, D4
00004FFC D483 add.l D2, D3
00004FFE 33B0 1800 2800 move.w [A1 + D2], [A0 + D1]
label00005004:
00005004 4846 swap.w D6
00005006 51CE 0004 dbf D6, +0x6 /* 0000500C */
0000500A 600E bra +0x10 /* 0000501A */
label0000500C:
0000500C 4846 swap.w D6
0000500E E288 lsr D0, 1
00005010 62CE bhi -0x30 /* 00004FE0 */
00005012 BB80 xor.l D0, D5
00005014 B085 cmp.l D0, D5
00005016 66C2 bne -0x3C /* 00004FDA */
00005018 3290 move.w [A1], [A0]
label0000501A:
0000501A 4E75 rts
0000501C D1CA add.l A0, A2
0000501E D3CB add.l A1, A3
00005020 48EE 0300 0048 movem.l [A6 + 0x48], A0,A1
00005026 2F08 move.l -[A7], A0
00005028 41FA 003A lea.l A0, [PC + 0x3A /* 00005064, value 0xE28862CE */]
0000502C 2C88 move.l [A6], A0
0000502E 205F movea.l A0, [A7]+
label00005030:
00005030 B0AE 0024 cmp.l D0, [A6 + 0x24]
00005034 6C24 bge +0x26 /* 0000505A */
label00005036:
00005036 3600 move.w D3, D0
00005038 C646 and.w D3, D6
0000503A B66E 0008 cmp.w D3, [A6 + 0x8]
0000503E 6E1A bgt +0x1C /* 0000505A */
00005040 48C3 ext.l D3
00005042 E58B lsl D3, 2
00005044 2800 move.l D4, D0
00005046 EEAC lsr D4, D7
00005048 320D move.w D1, A5
0000504A C2C4 mulu.w D1, D4
0000504C D283 add.l D1, D3
0000504E 340C move.w D2, A4
00005050 C4C4 mulu.w D2, D4
00005052 D483 add.l D2, D3
00005054 23B0 1800 2800 move.l [A1 + D2], [A0 + D1]
label0000505A:
0000505A 4846 swap.w D6
0000505C 51CE 0004 dbf D6, +0x6 /* 00005062 */
00005060 600E bra +0x10 /* 00005070 */
label00005062:
00005062 4846 swap.w D6
00005064 E288 lsr D0, 1
00005066 62CE bhi -0x30 /* 00005036 */
00005068 BB80 xor.l D0, D5
0000506A B085 cmp.l D0, D5
0000506C 66C2 bne -0x3C /* 00005030 */
0000506E 2290 move.l [A1], [A0]
label00005070:
00005070 4E75 rts
00005072 0000 0303 ori.b D0, 0x3
00005076 0305 btst D5, D1
00005078 0303 btst D3, D1
0000507A 1711 move.b -[A3], [A1]
0000507C 0905 btst D5, D4
0000507E 651B bcs +0x1D /* 0000509B */
00005080 3503 move.w -[A2], D3
00005082 2D09 move.l -[A6], A1
00005084 8139 0905 0321 or.b [0x09050321], D0
0000508A 1B09 move.b -[A5], A1
0000508C 7139 moveq.l D0, 0x39
0000508E 0905 btst D5, D4
00005090 6509 bcs +0xB /* 0000509B */
00005092 A300 syscall Open/PBHOpen/HOpen, flags=3
fn00005094:
00005094 4A80 tst.l D0
00005096 670C beq +0xE /* 000050A4 */
00005098 343C 0020 move.w D2, 0x20 /* ' ' */
label0000509C:
0000509C E388 lsl D0, 1
0000509E 55CA FFFC dbcs D2, -0x6 /* 0000509C */
000050A2 3002 move.w D0, D2
label000050A4:
000050A4 4E75 rts